jQuery first child fetch

JavaScript performance comparison

Test case created by ManiKanta G

Info

speed difference for different approaches to get the first child.

Preparation code

<script src="//ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
<div id="foo">
<div>Child1</div>
<div>Child2</div>
<div>Child3</div>
<div>Child4</div>
<div>Child5</div>
<div>Child6</div>
<div>Child7</div>
<div>Child8</div>
<div>Child9</div>
<div>Child10</div>
<div>Child11</div>
<div>Child12</div>
<div>Child13</div>
<div>Child14</div>
<div>Child15</div>
<div>Child16</div>
<div>Child17</div>
<div>Child18</div>
<div>Child19</div>
<div>Child20</div>
<div>Child21</div>
<div>Child22</div>
<div>Child23</div>
<div>Child24</div>
<div>Child25</div>
<div>Child26</div>
<div>Child27</div>
<div>Child28</div>
<div>Child29</div>
<div>Child30</div>
<div>Child31</div>
<div>Child32</div>
<div>Child33</div>
<div>Child34</div>
<div>Child35</div>
<div>Child36</div>
<div>Child37</div>
<div>Child38</div>
<div>Child39</div>
<div>Child40</div>
<div>Child41</div>
<div>Child42</div>
<div>Child43</div>
<div>Child44</div>
<div>Child45</div>
<div>Child46</div>
<div>Child47</div>
<div>Child48</div>
<div>Child49</div>
<div>Child50</div>
<div>Child51</div>
<div>Child52</div>
<div>Child53</div>
<div>Child54</div>
<div>Child55</div>
<div>Child56</div>
<div>Child57</div>
<div>Child58</div>
<div>Child59</div>
<div>Child60</div>
<div>Child61</div>
<div>Child62</div>
<div>Child63</div>
<div>Child64</div>
<div>Child65</div>
<div>Child66</div>
<div>Child67</div>
<div>Child68</div>
<div>Child69</div>
<div>Child70</div>
<div>Child71</div>
<div>Child72</div>
<div>Child73</div>
<div>Child74</div>
<div>Child75</div>
<div>Child76</div>
<div>Child77</div>
<div>Child78</div>
<div>Child79</div>
<div>Child80</div>
<div>Child81</div>
<div>Child82</div>
<div>Child83</div>
<div>Child84</div>
<div>Child85</div>
<div>Child86</div>
<div>Child87</div>
<div>Child88</div>
<div>Child89</div>
<div>Child90</div>
<div>Child91</div>
<div>Child92</div>
<div>Child93</div>
<div>Child94</div>
<div>Child95</div>
<div>Child96</div>
<div>Child97</div>
<div>Child98</div>
<div>Child99</div>
<div>
<div>Child100</div>
<div>Child101</div>
<div>Child102</div>
<div>Child103</div>
<div>Child104</div>
<div>Child105</div>
<div>Child106</div>
<div>Child107</div>
<div>Child108</div>
<div>Child109</div>
<div>Child110</div>
<div>Child111</div>
<div>Child112</div>
<div>Child113</div>
<div>Child114</div>
<div>Child115</div>
<div>Child116</div>
<div>Child117</div>
<div>Child118</div>
<div>Child119</div>
<div>Child120</div>
<div>Child121</div>
<div>Child122</div>
<div>Child123</div>
<div>Child124</div>
<div>Child125</div>
<div>Child126</div>
<div>Child127</div>
<div>Child128</div>
<div>Child129</div>
<div>Child130</div>
<div>Child131</div>
<div>Child132</div>
<div>Child133</div>
<div>Child134</div>
<div>Child135</div>
<div>Child136</div>
<div>Child137</div>
<div>Child138</div>
<div>Child139</div>
<div>Child140</div>
<div>Child141</div>
<div>Child142</div>
<div>Child143</div>
<div>Child144</div>
<div>Child145</div>
<div>Child146</div>
<div>Child147</div>
<div>Child148</div>
<div>Child149</div>
<div>Child150</div>
<div>Child151</div>
<div>Child152</div>
<div>Child153</div>
<div>Child154</div>
<div>Child155</div>
<div>Child156</div>
<div>Child157</div>
<div>Child158</div>
<div>Child159</div>
<div>Child160</div>
<div>Child161</div>
<div>Child162</div>
<div>Child163</div>
<div>Child164</div>
<div>Child165</div>
<div>Child166</div>
<div>Child167</div>
<div>Child168</div>
<div>Child169</div>
<div>Child170</div>
<div>Child171</div>
<div>Child172</div>
<div>Child173</div>
<div>Child174</div>
<div>Child175</div>
<div>Child176</div>
<div>Child177</div>
<div>Child178</div>
<div>Child179</div>
<div>Child180</div>
<div>Child181</div>
<div>Child182</div>
<div>Child183</div>
<div>Child184</div>
<div>Child185</div>
<div>Child186</div>
<div>Child187</div>
<div>Child188</div>
<div>Child189</div>
<div>Child190</div>
<div>Child191</div>
<div>Child192</div>
<div>Child193</div>
<div>Child194</div>
<div>Child195</div>
<div>Child196</div>
<div>Child197</div>
<div>Child198</div>
<div>Child199</div>
</div>
<div>Child101</div>
<div>Child102</div>
<div>Child103</div>
<div>Child104</div>
<div>Child105</div>
<div>Child106</div>
<div>Child107</div>
<div>Child108</div>
<div>Child109</div>
<div>Child110</div>
<div>Child111</div>
<div>Child112</div>
<div>Child113</div>
<div>Child114</div>
<div>Child115</div>
<div>Child116</div>
<div>Child117</div>
<div>Child118</div>
<div>Child119</div>
<div>Child120</div>
<div>Child121</div>
<div>Child122</div>
<div>Child123</div>
<div>Child124</div>
<div>Child125</div>
<div>Child126</div>
<div>Child127</div>
<div>Child128</div>
<div>Child129</div>
<div>Child130</div>
<div>Child131</div>
<div>Child132</div>
<div>Child133</div>
<div>Child134</div>
<div>Child135</div>
<div>Child136</div>
<div>Child137</div>
<div>Child138</div>
<div>Child139</div>
<div>Child140</div>
<div>Child141</div>
<div>Child142</div>
<div>Child143</div>
<div>Child144</div>
<div>Child145</div>
<div>Child146</div>
<div>Child147</div>
<div>Child148</div>
<div>Child149</div>
<div>Child150</div>
<div>Child151</div>
<div>Child152</div>
<div>Child153</div>
<div>Child154</div>
<div>Child155</div>
<div>Child156</div>
<div>Child157</div>
<div>Child158</div>
<div>Child159</div>
<div>Child160</div>
<div>Child161</div>
<div>Child162</div>
<div>Child163</div>
<div>Child164</div>
<div>Child165</div>
<div>Child166</div>
<div>Child167</div>
<div>Child168</div>
<div>Child169</div>
<div>Child170</div>
<div>Child171</div>
<div>Child172</div>
<div>Child173</div>
<div>Child174</div>
<div>Child175</div>
<div>Child176</div>
<div>Child177</div>
<div>Child178</div>
<div>Child179</div>
<div>Child180</div>
<div>Child181</div>
<div>Child182</div>
<div>Child183</div>
<div>Child184</div>
<div>Child185</div>
<div>Child186</div>
<div>Child187</div>
<div>Child188</div>
<div>Child189</div>
<div>Child190</div>
<div>Child191</div>
<div>Child192</div>
<div>Child193</div>
<div>Child194</div>
<div>Child195</div>
<div>Child196</div>
<div>Child197</div>
<div>Child198</div>
<div>Child199</div>
<div>Child200</div>
<div>Child201</div>
<div>Child202</div>
<div>Child203</div>
<div>Child204</div>
<div>Child205</div>
<div>Child206</div>
<div>Child207</div>
<div>Child208</div>
<div>Child209</div>
<div>Child210</div>
<div>Child211</div>
<div>Child212</div>
<div>Child213</div>
<div>Child214</div>
<div>Child215</div>
<div>Child216</div>
<div>Child217</div>
<div>Child218</div>
<div>Child219</div>
<div>Child220</div>
<div>Child221</div>
<div>Child222</div>
<div>Child223</div>
<div>Child224</div>
<div>Child225</div>
<div>Child226</div>
<div>Child227</div>
<div>Child228</div>
<div>Child229</div>
<div>Child230</div>
<div>Child231</div>
<div>Child232</div>
<div>Child233</div>
<div>Child234</div>
<div>Child235</div>
<div>Child236</div>
<div>Child237</div>
<div>Child238</div>
<div>Child239</div>
<div>Child240</div>
<div>Child241</div>
<div>Child242</div>
<div>Child243</div>
<div>Child244</div>
<div>Child245</div>
<div>Child246</div>
<div>Child247</div>
<div>Child248</div>
<div>Child249</div>
<div>Child250</div>
<div>Child251</div>
<div>Child252</div>
<div>Child253</div>
<div>Child254</div>
<div>Child255</div>
<div>Child256</div>
<div>Child257</div>
<div>Child258</div>
<div>Child259</div>
<div>Child260</div>
<div>Child261</div>
<div>Child262</div>
<div>Child263</div>
<div>Child264</div>
<div>Child265</div>
<div>Child266</div>
<div>Child267</div>
<div>Child268</div>
<div>Child269</div>
<div>Child270</div>
<div>Child271</div>
<div>Child272</div>
<div>Child273</div>
<div>Child274</div>
<div>Child275</div>
<div>Child276</div>
<div>Child277</div>
<div>Child278</div>
<div>Child279</div>
<div>Child280</div>
<div>Child281</div>
<div>Child282</div>
<div>Child283</div>
<div>Child284</div>
<div>Child285</div>
<div>Child286</div>
<div>Child287</div>
<div>Child288</div>
<div>Child289</div>
<div>Child290</div>
<div>Child291</div>
<div>Child292</div>
<div>Child293</div>
<div>Child294</div>
<div>Child295</div>
<div>Child296</div>
<div>Child297</div>
<div>Child298</div>
<div>Child299</div>
<div>Child300</div>
<div>Child301</div>
<div>Child302</div>
<div>Child303</div>
<div>Child304</div>
<div>Child305</div>
<div>Child306</div>
<div>Child307</div>
<div>Child308</div>
<div>Child309</div>
<div>Child310</div>
<div>Child311</div>
<div>Child312</div>
<div>Child313</div>
<div>Child314</div>
<div>Child315</div>
<div>Child316</div>
<div>Child317</div>
<div>Child318</div>
<div>Child319</div>
<div>Child320</div>
<div>Child321</div>
<div>Child322</div>
<div>Child323</div>
<div>Child324</div>
<div>Child325</div>
<div>Child326</div>
<div>Child327</div>
<div>Child328</div>
<div>Child329</div>
<div>Child330</div>
<div>Child331</div>
<div>Child332</div>
<div>Child333</div>
<div>Child334</div>
<div>Child335</div>
<div>Child336</div>
<div>Child337</div>
<div>Child338</div>
<div>Child339</div>
<div>Child340</div>
<div>Child341</div>
<div>Child342</div>
<div>Child343</div>
<div>Child344</div>
<div>Child345</div>
<div>Child346</div>
<div>Child347</div>
<div>Child348</div>
<div>Child349</div>
<div>Child350</div>
<div>Child351</div>
<div>Child352</div>
<div>Child353</div>
<div>Child354</div>
<div>Child355</div>
<div>Child356</div>
<div>Child357</div>
<div>Child358</div>
<div>Child359</div>
<div>Child360</div>
<div>Child361</div>
<div>Child362</div>
<div>Child363</div>
<div>Child364</div>
<div>Child365</div>
<div>Child366</div>
<div>Child367</div>
<div>Child368</div>
<div>Child369</div>
<div>Child370</div>
<div>Child371</div>
<div>Child372</div>
<div>Child373</div>
<div>Child374</div>
<div>Child375</div>
<div>Child376</div>
<div>Child377</div>
<div>Child378</div>
<div>Child379</div>
<div>Child380</div>
<div>Child381</div>
<div>Child382</div>
<div>Child383</div>
<div>Child384</div>
<div>Child385</div>
<div>Child386</div>
<div>Child387</div>
<div>Child388</div>
<div>Child389</div>
<div>Child390</div>
<div>Child391</div>
<div>Child392</div>
<div>Child393</div>
<div>Child394</div>
<div>Child395</div>
<div>Child396</div>
<div>Child397</div>
<div>Child398</div>
<div>Child399</div>
<div>Child400</div>
<div>Child401</div>
<div>Child402</div>
<div>Child403</div>
<div>Child404</div>
<div>Child405</div>
<div>Child406</div>
<div>Child407</div>
<div>Child408</div>
<div>Child409</div>
<div>Child410</div>
<div>Child411</div>
<div>Child412</div>
<div>Child413</div>
<div>Child414</div>
<div>Child415</div>
<div>Child416</div>
<div>Child417</div>
<div>Child418</div>
<div>Child419</div>
<div>Child420</div>
<div>Child421</div>
<div>Child422</div>
<div>Child423</div>
<div>Child424</div>
<div>Child425</div>
<div>Child426</div>
<div>Child427</div>
<div>Child428</div>
<div>Child429</div>
<div>Child430</div>
<div>Child431</div>
<div>Child432</div>
<div>Child433</div>
<div>Child434</div>
<div>Child435</div>
<div>Child436</div>
<div>Child437</div>
<div>Child438</div>
<div>Child439</div>
<div>Child440</div>
<div>Child441</div>
<div>Child442</div>
<div>Child443</div>
<div>Child444</div>
<div>Child445</div>
<div>Child446</div>
<div>Child447</div>
<div>Child448</div>
<div>Child449</div>
<div>Child450</div>
<div>Child451</div>
<div>Child452</div>
<div>Child453</div>
<div>Child454</div>
<div>Child455</div>
<div>Child456</div>
<div>Child457</div>
<div>Child458</div>
<div>Child459</div>
<div>Child460</div>
<div>Child461</div>
<div>Child462</div>
<div>Child463</div>
<div>Child464</div>
<div>Child465</div>
<div>Child466</div>
<div>Child467</div>
<div>Child468</div>
<div>Child469</div>
<div>Child470</div>
<div>Child471</div>
<div>Child472</div>
<div>Child473</div>
<div>Child474</div>
<div>Child475</div>
<div>Child476</div>
<div>Child477</div>
<div>Child478</div>
<div>Child479</div>
<div>Child480</div>
<div>Child481</div>
<div>Child482</div>
<div>Child483</div>
<div>Child484</div>
<div>Child485</div>
<div>Child486</div>
<div>Child487</div>
<div>Child488</div>
<div>Child489</div>
<div>Child490</div>
<div>Child491</div>
<div>Child492</div>
<div>Child493</div>
<div>Child494</div>
<div>Child495</div>
<div>Child496</div>
<div>Child497</div>
<div>Child498</div>
<div>Child499</div>
<div>Child500</div>
<div>Child501</div>
<div>Child502</div>
<div>Child503</div>
<div>Child504</div>
<div>Child505</div>
<div>Child506</div>
<div>Child507</div>
<div>Child508</div>
<div>Child509</div>
<div>Child510</div>
<div>Child511</div>
<div>Child512</div>
<div>Child513</div>
<div>Child514</div>
<div>Child515</div>
<div>Child516</div>
<div>Child517</div>
<div>Child518</div>
<div>Child519</div>
<div>Child520</div>
<div>Child521</div>
<div>Child522</div>
<div>Child523</div>
<div>Child524</div>
<div>Child525</div>
<div>Child526</div>
<div>Child527</div>
<div>Child528</div>
<div>Child529</div>
<div>Child530</div>
<div>Child531</div>
<div>Child532</div>
<div>Child533</div>
<div>Child534</div>
<div>Child535</div>
<div>Child536</div>
<div>Child537</div>
<div>Child538</div>
<div>Child539</div>
<div>Child540</div>
<div>Child541</div>
<div>Child542</div>
<div>Child543</div>
<div>Child544</div>
<div>Child545</div>
<div>Child546</div>
<div>Child547</div>
<div>Child548</div>
<div>Child549</div>
<div>Child550</div>
<div>Child551</div>
<div>Child552</div>
<div>Child553</div>
<div>Child554</div>
<div>Child555</div>
<div>Child556</div>
<div>Child557</div>
<div>Child558</div>
<div>Child559</div>
<div>Child560</div>
<div>Child561</div>
<div>Child562</div>
<div>Child563</div>
<div>Child564</div>
<div>Child565</div>
<div>Child566</div>
<div>Child567</div>
<div>Child568</div>
<div>Child569</div>
<div>Child570</div>
<div>Child571</div>
<div>Child572</div>
<div>Child573</div>
<div>Child574</div>
<div>Child575</div>
<div>Child576</div>
<div>Child577</div>
<div>Child578</div>
<div>Child579</div>
<div>Child580</div>
<div>Child581</div>
<div>Child582</div>
<div>Child583</div>
<div>Child584</div>
<div>Child585</div>
<div>Child586</div>
<div>Child587</div>
<div>Child588</div>
<div>Child589</div>
<div>Child590</div>
<div>Child591</div>
<div>Child592</div>
<div>Child593</div>
<div>Child594</div>
<div>Child595</div>
<div>Child596</div>
<div>Child597</div>
<div>Child598</div>
<div>Child599</div>
<div>Child600</div>
<div>Child601</div>
<div>Child602</div>
<div>Child603</div>
<div>Child604</div>
<div>Child605</div>
<div>Child606</div>
<div>Child607</div>
<div>Child608</div>
<div>Child609</div>
<div>Child610</div>
<div>Child611</div>
<div>Child612</div>
<div>Child613</div>
<div>Child614</div>
<div>Child615</div>
<div>Child616</div>
<div>Child617</div>
<div>Child618</div>
<div>Child619</div>
<div>Child620</div>
<div>Child621</div>
<div>Child622</div>
<div>Child623</div>
<div>Child624</div>
<div>Child625</div>
<div>Child626</div>
<div>Child627</div>
<div>Child628</div>
<div>Child629</div>
<div>Child630</div>
<div>Child631</div>
<div>Child632</div>
<div>Child633</div>
<div>Child634</div>
<div>Child635</div>
<div>Child636</div>
<div>Child637</div>
<div>Child638</div>
<div>Child639</div>
<div>Child640</div>
<div>Child641</div>
<div>Child642</div>
<div>Child643</div>
<div>Child644</div>
<div>Child645</div>
<div>Child646</div>
<div>Child647</div>
<div>Child648</div>
<div>Child649</div>
<div>Child650</div>
<div>Child651</div>
<div>Child652</div>
<div>Child653</div>
<div>Child654</div>
<div>Child655</div>
<div>Child656</div>
<div>Child657</div>
<div>Child658</div>
<div>Child659</div>
<div>Child660</div>
<div>Child661</div>
<div>Child662</div>
<div>Child663</div>
<div>Child664</div>
<div>Child665</div>
<div>Child666</div>
<div>Child667</div>
<div>Child668</div>
<div>Child669</div>
<div>Child670</div>
<div>Child671</div>
<div>Child672</div>
<div>Child673</div>
<div>Child674</div>
<div>Child675</div>
<div>Child676</div>
<div>Child677</div>
<div>Child678</div>
<div>Child679</div>
<div>Child680</div>
<div>Child681</div>
<div>Child682</div>
<div>Child683</div>
<div>Child684</div>
<div>Child685</div>
<div>Child686</div>
<div>Child687</div>
<div>Child688</div>
<div>Child689</div>
<div>Child690</div>
<div>Child691</div>
<div>Child692</div>
<div>Child693</div>
<div>Child694</div>
<div>Child695</div>
<div>Child696</div>
<div>Child697</div>
<div>Child698</div>
<div>Child699</div>
<div>Child700</div>
<div>Child701</div>
<div>Child702</div>
<div>Child703</div>
<div>Child704</div>
<div>Child705</div>
<div>Child706</div>
<div>Child707</div>
<div>Child708</div>
<div>Child709</div>
<div>Child710</div>
<div>Child711</div>
<div>Child712</div>
<div>Child713</div>
<div>Child714</div>
<div>Child715</div>
<div>Child716</div>
<div>Child717</div>
<div>Child718</div>
<div>Child719</div>
<div>Child720</div>
<div>Child721</div>
<div>Child722</div>
<div>Child723</div>
<div>Child724</div>
<div>Child725</div>
<div>Child726</div>
<div>Child727</div>
<div>Child728</div>
<div>Child729</div>
<div>Child730</div>
<div>Child731</div>
<div>Child732</div>
<div>Child733</div>
<div>Child734</div>
<div>Child735</div>
<div>Child736</div>
<div>Child737</div>
<div>Child738</div>
<div>Child739</div>
<div>Child740</div>
<div>Child741</div>
<div>Child742</div>
<div>Child743</div>
<div>Child744</div>
<div>Child745</div>
<div>Child746</div>
<div>Child747</div>
<div>Child748</div>
<div>Child749</div>
<div>Child750</div>
<div>Child751</div>
<div>Child752</div>
<div>Child753</div>
<div>Child754</div>
<div>Child755</div>
<div>Child756</div>
<div>Child757</div>
<div>Child758</div>
<div>Child759</div>
<div>Child760</div>
<div>Child761</div>
<div>Child762</div>
<div>Child763</div>
<div>Child764</div>
<div>Child765</div>
<div>Child766</div>
<div>Child767</div>
<div>Child768</div>
<div>Child769</div>
<div>Child770</div>
<div>Child771</div>
<div>Child772</div>
<div>Child773</div>
<div>Child774</div>
<div>Child775</div>
<div>Child776</div>
<div>Child777</div>
<div>Child778</div>
<div>Child779</div>
<div>Child780</div>
<div>Child781</div>
<div>Child782</div>
<div>Child783</div>
<div>Child784</div>
<div>Child785</div>
<div>Child786</div>
<div>Child787</div>
<div>Child788</div>
<div>Child789</div>
<div>Child790</div>
<div>Child791</div>
<div>Child792</div>
<div>Child793</div>
<div>Child794</div>
<div>Child795</div>
<div>Child796</div>
<div>Child797</div>
<div>Child798</div>
<div>Child799</div>
<div>Child800</div>
<div>Child801</div>
<div>Child802</div>
<div>Child803</div>
<div>Child804</div>
<div>Child805</div>
<div>Child806</div>
<div>Child807</div>
<div>Child808</div>
<div>Child809</div>
<div>Child810</div>
<div>Child811</div>
<div>Child812</div>
<div>Child813</div>
<div>Child814</div>
<div>Child815</div>
<div>Child816</div>
<div>Child817</div>
<div>Child818</div>
<div>Child819</div>
<div>Child820</div>
<div>Child821</div>
<div>Child822</div>
<div>Child823</div>
<div>Child824</div>
<div>Child825</div>
<div>Child826</div>
<div>Child827</div>
<div>Child828</div>
<div>Child829</div>
<div>Child830</div>
<div>Child831</div>
<div>Child832</div>
<div>Child833</div>
<div>Child834</div>
<div>Child835</div>
<div>Child836</div>
<div>Child837</div>
<div>Child838</div>
<div>Child839</div>
<div>Child840</div>
<div>Child841</div>
<div>Child842</div>
<div>Child843</div>
<div>Child844</div>
<div>Child845</div>
<div>Child846</div>
<div>Child847</div>
<div>Child848</div>
<div>Child849</div>
<div>Child850</div>
<div>Child851</div>
<div>Child852</div>
<div>Child853</div>
<div>Child854</div>
<div>Child855</div>
<div>Child856</div>
<div>Child857</div>
<div>Child858</div>
<div>Child859</div>
<div>Child860</div>
<div>Child861</div>
<div>Child862</div>
<div>Child863</div>
<div>Child864</div>
<div>Child865</div>
<div>Child866</div>
<div>Child867</div>
<div>Child868</div>
<div>Child869</div>
<div>Child870</div>
<div>Child871</div>
<div>Child872</div>
<div>Child873</div>
<div>Child874</div>
<div>Child875</div>
<div>Child876</div>
<div>Child877</div>
<div>Child878</div>
<div>Child879</div>
<div>Child880</div>
<div>Child881</div>
<div>Child882</div>
<div>Child883</div>
<div>Child884</div>
<div>Child885</div>
<div>Child886</div>
<div>Child887</div>
<div>Child888</div>
<div>Child889</div>
<div>Child890</div>
<div>Child891</div>
<div>Child892</div>
<div>Child893</div>
<div>Child894</div>
<div>Child895</div>
<div>Child896</div>
<div>Child897</div>
<div>Child898</div>
<div>Child899</div>
<div>Child900</div>
<div>Child901</div>
<div>Child902</div>
<div>Child903</div>
<div>Child904</div>
<div>Child905</div>
<div>Child906</div>
<div>Child907</div>
<div>Child908</div>
<div>Child909</div>
<div>Child910</div>
<div>Child911</div>
<div>Child912</div>
<div>Child913</div>
<div>Child914</div>
<div>Child915</div>
<div>Child916</div>
<div>Child917</div>
<div>Child918</div>
<div>Child919</div>
<div>Child920</div>
<div>Child921</div>
<div>Child922</div>
<div>Child923</div>
<div>Child924</div>
<div>Child925</div>
<div>Child926</div>
<div>Child927</div>
<div>Child928</div>
<div>Child929</div>
<div>Child930</div>
<div>Child931</div>
<div>Child932</div>
<div>Child933</div>
<div>Child934</div>
<div>Child935</div>
<div>Child936</div>
<div>Child937</div>
<div>Child938</div>
<div>Child939</div>
<div>Child940</div>
<div>Child941</div>
<div>Child942</div>
<div>Child943</div>
<div>Child944</div>
<div>Child945</div>
<div>Child946</div>
<div>Child947</div>
<div>Child948</div>
<div>Child949</div>
<div>Child950</div>
<div>Child951</div>
<div>Child952</div>
<div>Child953</div>
<div>Child954</div>
<div>Child955</div>
<div>Child956</div>
<div>Child957</div>
<div>Child958</div>
<div>Child959</div>
<div>Child960</div>
<div>Child961</div>
<div>Child962</div>
<div>Child963</div>
<div>Child964</div>
<div>Child965</div>
<div>Child966</div>
<div>Child967</div>
<div>Child968</div>
<div>Child969</div>
<div>Child970</div>
<div>Child971</div>
<div>Child972</div>
<div>Child973</div>
<div>Child974</div>
<div>Child975</div>
<div>Child976</div>
<div>Child977</div>
<div>Child978</div>
<div>Child979</div>
<div>Child980</div>
<div>Child981</div>
<div>Child982</div>
<div>Child983</div>
<div>Child984</div>
<div>Child985</div>
<div>Child986</div>
<div>Child987</div>
<div>Child988</div>
<div>Child989</div>
<div>Child990</div>
<div>Child991</div>
<div>Child992</div>
<div>Child993</div>
<div>Child994</div>
<div>Child995</div>
<div>Child996</div>
<div>Child997</div>
<div>Child998</div>
<div>Child999</div>
<div>Child1000</div>
</div>
<script>
  var notif = $('#foo'),
  notif0 = notif[0],
  jFoo = document.getElementById('foo');
</script>

Preparation code output

Child1
Child2
Child3
Child4
Child5
Child6
Child7
Child8
Child9
Child10
Child11
Child12
Child13
Child14
Child15
Child16
Child17
Child18
Child19
Child20
Child21
Child22
Child23
Child24
Child25
Child26
Child27
Child28
Child29
Child30
Child31
Child32
Child33
Child34
Child35
Child36
Child37
Child38
Child39
Child40
Child41
Child42
Child43
Child44
Child45
Child46
Child47
Child48
Child49
Child50
Child51
Child52
Child53
Child54
Child55
Child56
Child57
Child58
Child59
Child60
Child61
Child62
Child63
Child64
Child65
Child66
Child67
Child68
Child69
Child70
Child71
Child72
Child73
Child74
Child75
Child76
Child77
Child78
Child79
Child80
Child81
Child82
Child83
Child84
Child85
Child86
Child87
Child88
Child89
Child90
Child91
Child92
Child93
Child94
Child95
Child96
Child97
Child98
Child99
Child100
Child101
Child102
Child103
Child104
Child105
Child106
Child107
Child108
Child109
Child110
Child111
Child112
Child113
Child114
Child115
Child116
Child117
Child118
Child119
Child120
Child121
Child122
Child123
Child124
Child125
Child126
Child127
Child128
Child129
Child130
Child131
Child132
Child133
Child134
Child135
Child136
Child137
Child138
Child139
Child140
Child141
Child142
Child143
Child144
Child145
Child146
Child147
Child148
Child149
Child150
Child151
Child152
Child153
Child154
Child155
Child156
Child157
Child158
Child159
Child160
Child161
Child162
Child163
Child164
Child165
Child166
Child167
Child168
Child169
Child170
Child171
Child172
Child173
Child174
Child175
Child176
Child177
Child178
Child179
Child180
Child181
Child182
Child183
Child184
Child185
Child186
Child187
Child188
Child189
Child190
Child191
Child192
Child193
Child194
Child195
Child196
Child197
Child198
Child199
Child101
Child102
Child103
Child104
Child105
Child106
Child107
Child108
Child109
Child110
Child111
Child112
Child113
Child114
Child115
Child116
Child117
Child118
Child119
Child120
Child121
Child122
Child123
Child124
Child125
Child126
Child127
Child128
Child129
Child130
Child131
Child132
Child133
Child134
Child135
Child136
Child137
Child138
Child139
Child140
Child141
Child142
Child143
Child144
Child145
Child146
Child147
Child148
Child149
Child150
Child151
Child152
Child153
Child154
Child155
Child156
Child157
Child158
Child159
Child160
Child161
Child162
Child163
Child164
Child165
Child166
Child167
Child168
Child169
Child170
Child171
Child172
Child173
Child174
Child175
Child176
Child177
Child178
Child179
Child180
Child181
Child182
Child183
Child184
Child185
Child186
Child187
Child188
Child189
Child190
Child191
Child192
Child193
Child194
Child195
Child196
Child197
Child198
Child199
Child200
Child201
Child202
Child203
Child204
Child205
Child206
Child207
Child208
Child209
Child210
Child211
Child212
Child213
Child214
Child215
Child216
Child217
Child218
Child219
Child220
Child221
Child222
Child223
Child224
Child225
Child226
Child227
Child228
Child229
Child230
Child231
Child232
Child233
Child234
Child235
Child236
Child237
Child238
Child239
Child240
Child241
Child242
Child243
Child244
Child245
Child246
Child247
Child248
Child249
Child250
Child251
Child252
Child253
Child254
Child255
Child256
Child257
Child258
Child259
Child260
Child261
Child262
Child263
Child264
Child265
Child266
Child267
Child268
Child269
Child270
Child271
Child272
Child273
Child274
Child275
Child276
Child277
Child278
Child279
Child280
Child281
Child282
Child283
Child284
Child285
Child286
Child287
Child288
Child289
Child290
Child291
Child292
Child293
Child294
Child295
Child296
Child297
Child298
Child299
Child300
Child301
Child302
Child303
Child304
Child305
Child306
Child307
Child308
Child309
Child310
Child311
Child312
Child313
Child314
Child315
Child316
Child317
Child318
Child319
Child320
Child321
Child322
Child323
Child324
Child325
Child326
Child327
Child328
Child329
Child330
Child331
Child332
Child333
Child334
Child335
Child336
Child337
Child338
Child339
Child340
Child341
Child342
Child343
Child344
Child345
Child346
Child347
Child348
Child349
Child350
Child351
Child352
Child353
Child354
Child355
Child356
Child357
Child358
Child359
Child360
Child361
Child362
Child363
Child364
Child365
Child366
Child367
Child368
Child369
Child370
Child371
Child372
Child373
Child374
Child375
Child376
Child377
Child378
Child379
Child380
Child381
Child382
Child383
Child384
Child385
Child386
Child387
Child388
Child389
Child390
Child391
Child392
Child393
Child394
Child395
Child396
Child397
Child398
Child399
Child400
Child401
Child402
Child403
Child404
Child405
Child406
Child407
Child408
Child409
Child410
Child411
Child412
Child413
Child414
Child415
Child416
Child417
Child418
Child419
Child420
Child421
Child422
Child423
Child424
Child425
Child426
Child427
Child428
Child429
Child430
Child431
Child432
Child433
Child434
Child435
Child436
Child437
Child438
Child439
Child440
Child441
Child442
Child443
Child444
Child445
Child446
Child447
Child448
Child449
Child450
Child451
Child452
Child453
Child454
Child455
Child456
Child457
Child458
Child459
Child460
Child461
Child462
Child463
Child464
Child465
Child466
Child467
Child468
Child469
Child470
Child471
Child472
Child473
Child474
Child475
Child476
Child477
Child478
Child479
Child480
Child481
Child482
Child483
Child484
Child485
Child486
Child487
Child488
Child489
Child490
Child491
Child492
Child493
Child494
Child495
Child496
Child497
Child498
Child499
Child500
Child501
Child502
Child503
Child504
Child505
Child506
Child507
Child508
Child509
Child510
Child511
Child512
Child513
Child514
Child515
Child516
Child517
Child518
Child519
Child520
Child521
Child522
Child523
Child524
Child525
Child526
Child527
Child528
Child529
Child530
Child531
Child532
Child533
Child534
Child535
Child536
Child537
Child538
Child539
Child540
Child541
Child542
Child543
Child544
Child545
Child546
Child547
Child548
Child549
Child550
Child551
Child552
Child553
Child554
Child555
Child556
Child557
Child558
Child559
Child560
Child561
Child562
Child563
Child564
Child565
Child566
Child567
Child568
Child569
Child570
Child571
Child572
Child573
Child574
Child575
Child576
Child577
Child578
Child579
Child580
Child581
Child582
Child583
Child584
Child585
Child586
Child587
Child588
Child589
Child590
Child591
Child592
Child593
Child594
Child595
Child596
Child597
Child598
Child599
Child600
Child601
Child602
Child603
Child604
Child605
Child606
Child607
Child608
Child609
Child610
Child611
Child612
Child613
Child614
Child615
Child616
Child617
Child618
Child619
Child620
Child621
Child622
Child623
Child624
Child625
Child626
Child627
Child628
Child629
Child630
Child631
Child632
Child633
Child634
Child635
Child636
Child637
Child638
Child639
Child640
Child641
Child642
Child643
Child644
Child645
Child646
Child647
Child648
Child649
Child650
Child651
Child652
Child653
Child654
Child655
Child656
Child657
Child658
Child659
Child660
Child661
Child662
Child663
Child664
Child665
Child666
Child667
Child668
Child669
Child670
Child671
Child672
Child673
Child674
Child675
Child676
Child677
Child678
Child679
Child680
Child681
Child682
Child683
Child684
Child685
Child686
Child687
Child688
Child689
Child690
Child691
Child692
Child693
Child694
Child695
Child696
Child697
Child698
Child699
Child700
Child701
Child702
Child703
Child704
Child705
Child706
Child707
Child708
Child709
Child710
Child711
Child712
Child713
Child714
Child715
Child716
Child717
Child718
Child719
Child720
Child721
Child722
Child723
Child724
Child725
Child726
Child727
Child728
Child729
Child730
Child731
Child732
Child733
Child734
Child735
Child736
Child737
Child738
Child739
Child740
Child741
Child742
Child743
Child744
Child745
Child746
Child747
Child748
Child749
Child750
Child751
Child752
Child753
Child754
Child755
Child756
Child757
Child758
Child759
Child760
Child761
Child762
Child763
Child764
Child765
Child766
Child767
Child768
Child769
Child770
Child771
Child772
Child773
Child774
Child775
Child776
Child777
Child778
Child779
Child780
Child781
Child782
Child783
Child784
Child785
Child786
Child787
Child788
Child789
Child790
Child791
Child792
Child793
Child794
Child795
Child796
Child797
Child798
Child799
Child800
Child801
Child802
Child803
Child804
Child805
Child806
Child807
Child808
Child809
Child810
Child811
Child812
Child813
Child814
Child815
Child816
Child817
Child818
Child819
Child820
Child821
Child822
Child823
Child824
Child825
Child826
Child827
Child828
Child829
Child830
Child831
Child832
Child833
Child834
Child835
Child836
Child837
Child838
Child839
Child840
Child841
Child842
Child843
Child844
Child845
Child846
Child847
Child848
Child849
Child850
Child851
Child852
Child853
Child854
Child855
Child856
Child857
Child858
Child859
Child860
Child861
Child862
Child863
Child864
Child865
Child866
Child867
Child868
Child869
Child870
Child871
Child872
Child873
Child874
Child875
Child876
Child877
Child878
Child879
Child880
Child881
Child882
Child883
Child884
Child885
Child886
Child887
Child888
Child889
Child890
Child891
Child892
Child893
Child894
Child895
Child896
Child897
Child898
Child899
Child900
Child901
Child902
Child903
Child904
Child905
Child906
Child907
Child908
Child909
Child910
Child911
Child912
Child913
Child914
Child915
Child916
Child917
Child918
Child919
Child920
Child921
Child922
Child923
Child924
Child925
Child926
Child927
Child928
Child929
Child930
Child931
Child932
Child933
Child934
Child935
Child936
Child937
Child938
Child939
Child940
Child941
Child942
Child943
Child944
Child945
Child946
Child947
Child948
Child949
Child950
Child951
Child952
Child953
Child954
Child955
Child956
Child957
Child958
Child959
Child960
Child961
Child962
Child963
Child964
Child965
Child966
Child967
Child968
Child969
Child970
Child971
Child972
Child973
Child974
Child975
Child976
Child977
Child978
Child979
Child980
Child981
Child982
Child983
Child984
Child985
Child986
Child987
Child988
Child989
Child990
Child991
Child992
Child993
Child994
Child995
Child996
Child997
Child998
Child999
Child1000

Test runner

Warning! For accurate results, please disable Firebug before running the tests. (Why?)

Java applet disabled.

Testing in unknown unknown
Test Ops/sec
$(":first-child", notif)
$(":first-child", notif);
pending…
notif.children(":first")
notif.children(":first");
pending…
notif.children()[0]
notif.children()[0];
pending…
JavaScript firstChild
jFoo.firstChild
pending…
jQueryEle[0].firstChild
notif0.firstChild
pending…

Compare results of other browsers

Revisions

You can edit these tests or add even more tests to this page by appending /edit to the URL. Here’s a list of current revisions for this page:

0 comments

Add a comment