javascript nested array flatten
indexOf vs map on small arrays
compare operations
Checked test: slice x 5,534,458 ops/sec ±0.60% (67 runs sampled) Checked test: splice x 16,840,026 ops/sec ±0.50% (66 runs sampled)
Lookup of map vs object (in a real-world test format)
Measures performance of array spread vs. flatMap vs. concat
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