Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
Run results for:
arguments destructure vs parameters
Go to the benchmark
Embed
Embed Benchmark Result
Run details:
User agent:
Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Mobile Safari/537.36
Browser:
Chrome Mobile 131
Operating system:
Android
Device Platform:
Mobile
Date tested:
one year ago
Test name
Executions per second
arguments
2833.5 Ops/sec
parameters
543612.2 Ops/sec
HTML Preparation code:
<!--your preparation HTML code goes here-->
Script Preparation code:
function a() { let [q, w, e, r, t, y] = arguments return q + w + y + e + r + t + y } function b(q, w, e, r, t, y) { return q + w + y + e + r + t + y }
Tests:
arguments
for(let j = 500; j--;)a(1,2,3,4,5,6)
parameters
for(let j = 500; j--;)b(1,2,3,4,5,6)