Comparing performance of: findIndex vs includes vs map and indexOf
Test
100k list splice and shift win, they mutate list slice loose, it creates a copy of list 7.5x slower
yesy
Compare loop performance
New benchmark Your benchmarks
Source code: GitHub/MeasureThat.net
Report issues: MeasureThat.net/Issues
Based on: Benchmark.js (v2.1.1)
Facebook page: https://www.facebook.com/MeasureThat.Net