Toggle navigation
MeasureThat
.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
Reflect.apply vs Function.prototype.apply
(version: 1)
Comparing performance of:
Reflect.apply vs Function.prototype.apply
Created:
one year ago
by:
Guest
Go to the latest result
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])
Rendered benchmark preparation results:
Suite status:
<idle, ready to run>
Run tests (2)
Previous results
Fork
Test case name
Result
Reflect.apply
Function.prototype.apply
Fastest:
N/A
Slowest:
N/A
Latest run results:
Run details:
(Test run date:
one year ago
)
User agent:
Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0 Mobile Safari/537.36
Browser/OS:
Chrome Mobile 137 on Android
View result in a separate tab
Embed
Embed Benchmark Result
Reflect.apply
36.2M/s
Function.prototype.apply
30.9M/s
View exact numbers
Test name
Executions per second
✓
Reflect.apply
36,249,504 Ops/sec
Function.prototype.apply
30,937,726 Ops/sec
Related benchmarks
eval vs reflect
Object creation speed benchmark
Comments
Confirm delete:
Do you really want to delete benchmark?