Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
method vs arrow thing
(version: 1)
Comparing performance of:
method vs arrow
Created:
one year ago
by:
Guest
Jump to the latest result
HTML Preparation code:
<!--your preparation HTML code goes here-->
Script Preparation code:
let a = new Proxy({a:3}, { get(t, p) { return t[p] } }) let b = new Proxy({a:3}, { get: (t, p) => t[p] })
Tests:
method
for(let i = 100; i--;)a.a
arrow
for(let i = 100; i--;)b.a
Rendered benchmark preparation results:
Suite status:
<idle, ready to run>
Run tests (2)
Previous results
Fork
Test case name
Result
method
arrow
Fastest:
N/A
Slowest:
N/A
Latest run results:
Run details:
(Test run date:
one year ago
)
User agent:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36
Browser/OS:
Chrome 135 on Mac OS X 10.15.7
View result in a separate tab
Embed
Embed Benchmark Result
Test name
Executions per second
method
645590.3 Ops/sec
arrow
640757.4 Ops/sec
Related benchmarks:
Proxy vs Object vs Object.setPrototypeOf
ES6 Proxy vs JS Object get/set
get vs proxy get v2
Proxy vs prototype
Proxy vs prototype vs direct
Proxy Test
proxy proto
proxy proto 2
Access to Proxy vs Object v2
Comments
Confirm delete:
Do you really want to delete benchmark?