Does it take longer to set or get a variable?
test performance of array sorting using default sort() and localeCompare() of javascript
100k list splice and shift win, they mutate list slice loose, it creates a copy of list 7.5x slower
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