right-to-left-css-parsing-test2

JavaScript performance comparison

Revision 3 of this test case created by huns.me

Preparation code

<div class="contents">    <ul>        <li>            <span id="name"></span>        </li>    </ul></div> 

    

Preparation code output

<div class="contents">     <ul>         <li>             <span id="name"></span>         </li>     </ul> </div>

Test runner

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

Java applet disabled.

Testing in CCBot 2.0.0 / Other 0.0.0
Test Ops/sec
"#name"
document.querySelectorAll("#name")
pending…
"div.contents ul li > #name"
document.querySelectorAll("div.contents li > #name")
pending…
"div.contents ul > li > #name"
document.querySelectorAll("div.contents ul > li > #name")
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.

0 Comments