100 Li elements using querySelectorAll and custom query function got from http://ryanmorr.com/abstract-away-the-performance-faults-of-queryselectorall/
Comparing performance of: query vs querySelectorAll vs getElementByTagName
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
query
querySelectorAll
getElementByTagName
Fastest:N/A
Slowest:N/A
Latest run results:
Run details: (Test run date:
7 years ago)
Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.89 Safari/537.36