querySelector vs getElementsByClassName vs attributes vs jquery (version: 0)
Comparing performance of: querySelector vs getElementsByClassName vs querySelectorAll vs querySelector (attribute) vs querySelectorAll (attribute) vs jquery vs jquery (attribute)
Memory measurements supported only in Chrome.
For precise memory measurements Chrome must be launched with --enable-precise-memory-info flag.
More information: Monitoring JavaScript Memory
Test case name
Result
querySelector
getElementsByClassName
querySelectorAll
querySelector (attribute)
querySelectorAll (attribute)
jquery
jquery (attribute)
Fastest:N/A
Slowest:N/A
ⓘGet performance results from real users on your website with Request Metrics.
Latest run results:
No previous run results
This benchmark does not have any results yet. Be the first one to run it!