getall
JavaScript performance comparison
Preparation code
<div id="ctnr_OBJ_14301127141209100913" class="block-fusion" style="width: 800px; height: 400px;"></div>
<div id="ctnr_OBJ_14301127141209100913" class="block-fusion" style="width: 800px; height: 400px;"></div>
<div id="ctnr_OBJ_14301127141209100913" class="block-fusion" style="width: 800px; height: 400px;"></div>
<div id="ctnr_OBJ_14301127141209100913" class="block-fusion" style="width: 800px; height: 400px;"></div>
<div id="ctnr_OBJ_14301127141209100913" class="block-fusion" style="width: 800px; height: 400px;"></div>
Preparation code output
<div id="ctnr_OBJ_14301127141209100913" class="block-fusion" style="width: 800px; height: 400px;"></div>
<div id="ctnr_OBJ_14301127141209100913" class="block-fusion" style="width: 800px; height: 400px;"></div>
<div id="ctnr_OBJ_14301127141209100913" class="block-fusion" style="width: 800px; height: 400px;"></div>
<div id="ctnr_OBJ_14301127141209100913" class="block-fusion" style="width: 800px; height: 400px;"></div>
<div id="ctnr_OBJ_14301127141209100913" class="block-fusion" style="width: 800px; height: 400px;"></div>
Test runner
Warning! For accurate results, please disable Firebug before running the tests. (Why?)
Java applet disabled.
Test | Ops/sec | |
---|---|---|
getElementsByClassName
|
|
pending… |
querySelectorAll
|
|
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.
- Revision 1: published joao
0 Comments