Toggle navigation
MeasureThat
.net
Create a benchmark
Tools
Feedback
Feature Requests
FAQ
Register
Log In
Run results for:
JS Build Big Array
Go to the benchmark
Embed
Embed Benchmark Result
Run details:
User agent:
Mozilla/5.0 (Android 15; Mobile; rv:135.0) Gecko/135.0 Firefox/135.0
Browser:
Firefox Mobile 135
Operating system:
Android
Device Platform:
Mobile
Date tested:
one year ago
Benchmark engine:
Benchmark.js
Pre Allocated
4/s
Dynamic
4/s
View exact numbers
Test name
Executions per second
✓
Pre Allocated
4 Ops/sec
Dynamic
4 Ops/sec
Script Preparation code:
var n = 10000000
Tests:
Dynamic
const arr = []; for (let i = 0; i < n; i++) { arr.push(i); }
Pre Allocated
const arr = new Array(n); for (let i = 0; i < n; i++) { arr[i] = i; }