Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
teste2
(version: 0)
testeset2
Comparing performance of:
teste getElementsByClassName vs getElementById
Created:
2 years ago
by:
Guest
Jump to the latest result
HTML Preparation code:
<div><div class="teste" id="teste1">asfasdfafd</div></div>
Tests:
teste getElementsByClassName
document.getElementsByClassName(".teste")
getElementById
document.getElementById('teste1');
Rendered benchmark preparation results:
Suite status:
<idle, ready to run>
Run tests (2)
Previous results
Fork
Test case name
Result
teste getElementsByClassName
getElementById
Fastest:
N/A
Slowest:
N/A
Latest run results:
No previous run results
This benchmark does not have any results yet. Be the first one
to run it!
Related benchmarks:
querySelectorAll vs getElementsByClassName x2
querySelectorAll vs getElementsByClassName Test2
JS selector functions
jQuery VS querySelectorAll (teste)
queryall vs classname
Comments
Confirm delete:
Do you really want to delete benchmark?