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:
11 months ago
by:
Guest
Jump 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:
11 months 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
Test name
Executions per second
Reflect.apply
36249504.0 Ops/sec
Function.prototype.apply
30937726.0 Ops/sec
Related benchmarks:
test for null(2)
bind vs call vs apply
test234
method vs proto
eval vs new Function vs defined function
bind exists vs apply
eval vs reflect
eval vs new Function3
Object creation speed benchmark
Comments
Confirm delete:
Do you really want to delete benchmark?