check function call overhead
save length of the array in the variable vs get it the loop
querySelector by attribute (partial matching) VS getElementById VS getElementsByTagName
querySelector by attribute (partial matching) VS getElementById
Object lookup performance
When adding an element to an array, measure the performance of push, spread syntax and concat. The case is when original array must contain the new element, thus modifying it in process.
Create Your benchmarks
Source code: GitHub/MeasureThat.net
Report issues: MeasureThat.net/Issues
Based on: Benchmark.js
Facebook page: https://www.facebook.com/MeasureThat.Net