Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
Run results for:
Test parameter object 4
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/130.0.0.0 Safari/537.36
Browser:
Chrome 130
Operating system:
Linux
Device Platform:
Desktop
Date tested:
one year ago
Test name
Executions per second
Without parameter object
5693032.0 Ops/sec
with paramenter object
5693307.0 Ops/sec
Script Preparation code:
var number1 = 1; var number2 = 2; function f1 (a, b, c) { return a + b + c; } function f2 ({a, b, c}) { return a + b + c;}
Tests:
Without parameter object
f1(number1, number2, Math.random());
with paramenter object
f2({a: number1, b: number2, c: Math.random()})