Toggle navigation
MeasureThat
.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
Run results for:
Reflect.apply vs Function.prototype.apply
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/136.0.0.0 Safari/537.36
Browser:
Chrome 136
Operating system:
Linux
Device Platform:
Desktop
Date tested:
one year ago
Reflect.apply
189.8M/s
Function.prototype.apply
176.0M/s
View exact numbers
Test name
Executions per second
✓
Reflect.apply
189,798,336 Ops/sec
Function.prototype.apply
175,988,560 Ops/sec
HTML Preparation code:
<!--your preparation HTML code goes here-->
Script Preparation code:
function a(b) { return b ** 2 }
Tests:
Reflect.apply
Reflect.apply(a,1,[1])
Function.prototype.apply
a.apply(1,[1])