var a = [];
for (var i=0; i < 1000000;i++){
a.push("item"+i);
}
a.length = 0;
a.splice(0, a.length-1);
a = []
FAQ: FAQ
Source code: GitHub/MeasureThat.net
Report issues: MeasureThat.net/Issues
Based on: Benchmark.js
Facebook page: https://www.facebook.com/MeasureThat.Net
Python benchmarks support: Pyodide