Toggle navigation
MeasureThat
.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
Run results for:
spread vs push 1232132131
Go to the benchmark
Embed
Embed Benchmark Result
Run details:
User agent:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 YaBrowser/25.8.0.0 Safari/537.36
Browser:
Yandex Browser 25
Operating system:
Linux
Device Platform:
Desktop
Date tested:
8 months ago
push
59.8M/s
spread
38.4M/s
View exact numbers
Test name
Executions per second
✓
push
59,808,384 Ops/sec
spread
38,419,740 Ops/sec
Tests:
push
var params = [ "hello", true, 7 ]; var testObj = {a: {b: {c : 'd'}}}; var other = params.push(testObj);
spread
var params = [ "hello", true, 7 ]; var testObj = {a: {b: {c : 'd'}}}; var other = [...params, testObj];