Toggle navigation
MeasureThat
.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
bind vs normal access
(version: 1)
Comparing performance of:
normal property access vs bound
Created:
10 months ago
by:
Guest
Go to the latest result
HTML Preparation code:
<!--your preparation HTML code goes here-->
Script Preparation code:
let a = new Set let b = a.add.bind(new Set)
Tests:
normal property access
for(let i = 100; i--;) a.add(i)
bound
for(let i = 100; i--;) b(i)
Rendered benchmark preparation results:
Suite status:
<idle, ready to run>
Run tests (2)
Previous results
Fork
Test case name
Result
normal property access
bound
Fastest:
N/A
Slowest:
N/A
Latest run results:
Run details:
(Test run date:
10 months ago
)
User agent:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36
Browser/OS:
Chrome 141 on Linux
View result in a separate tab
Embed
Embed Benchmark Result
normal property access
2.3M/s
bound
2.2M/s
View exact numbers
Test name
Executions per second
✓
normal property access
2,302,326 Ops/sec
bound
2,191,498 Ops/sec
Related benchmarks
new Set vs set.clear()
test nulling object and overwriting vs overwriting
variable vs property (var vs this.property
variable vs property (var vs this.property) - v2
Object.defineProperty vs direct assignment
bind vs normal access 2
Comments
Confirm delete:
Do you really want to delete benchmark?