Toggle navigation
MeasureThat
.net
Create a benchmark
Tools
Feedback
Feature Requests
FAQ
Register
Log In
Run results for:
string to array, push vs concat
Go to the benchmark
Embed
Embed Benchmark Result
Run details:
User agent:
Mozilla/5.0 (Android 15; Mobile; rv:137.0) Gecko/137.0 Firefox/137.0
Browser:
Firefox Mobile 137
Operating system:
Android
Device Platform:
Mobile
Date tested:
one year ago
Benchmark engine:
Benchmark.js
push
121K/s
concat
7K/s
View exact numbers
Test name
Executions per second
✓
push
120,988 Ops/sec
concat
6,512 Ops/sec
Tests:
push
'0'.repeat(400).split('').reduce((a, b) => {a.push(b, ''); return a;}, [])
concat
'0'.repeat(400).split('').reduce((a, b) => a.concat(b, ''), [])