Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
Run results for:
call vs apply fix
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/142.0.0.0 Safari/537.36
Browser:
Chrome 142
Operating system:
Linux
Device Platform:
Desktop
Date tested:
5 months ago
Test name
Executions per second
call
11889312.0 Ops/sec
apply
8979589.0 Ops/sec
Reflect.apply
8017174.5 Ops/sec
call spread
8722356.0 Ops/sec
HTML Preparation code:
<!--your preparation HTML code goes here-->
Script Preparation code:
'use strict' let args = Array.from({length:5}, i=>i) function a(...args) {return args.join('')}
Tests:
call
a.call(this,args[0],args[1],args[2],args[3],args[4])
apply
a.apply(this, args)
Reflect.apply
Reflect.apply(a, this, args)
call spread
a.call(this,...args)