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 (Macintosh; Intel Mac OS X 10.15; rv:133.0) Gecko/20100101 Firefox/133.0
Browser:
Firefox 133
Operating system:
Mac OS X 10.15
Device Platform:
Desktop
Date tested:
one year ago
Test name
Executions per second
arguments
56925.1 Ops/sec
parameters
1776235.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)