Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
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
Test name
Executions per second
push
120988.4 Ops/sec
concat
6512.4 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, ''), [])