Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
dfsfdsfsdfsdffs
(version: 1)
dsgfsdfsdfsdfsdf
Comparing performance of:
Use static vs Use bound
Created:
5 months ago
by:
Registered User
Jump to the latest result
HTML Preparation code:
<!--your preparation HTML code goes here-->
Script Preparation code:
const obj = { value: 1 }; obj.update = updateSelf.bind(obj); function updateStatic(object, value) { object.value = value; }; function updateSelf(value) { this.value = value; }
Tests:
Use static
updateStatic(obj, Math.random());
Use bound
obj.update(Math.random());
Rendered benchmark preparation results:
Suite status:
<idle, ready to run>
Run tests (2)
Previous results
Fork
Test case name
Result
Use static
Use bound
Fastest:
N/A
Slowest:
N/A
Latest run results:
Run details:
(Test run date:
5 months ago
)
User agent:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/139.0.0.0 Safari/537.36 OPR/123.0.0.0
Browser/OS:
Opera 123 on Windows
View result in a separate tab
Embed
Embed Benchmark Result
Test name
Executions per second
Use static
111876480.0 Ops/sec
Use bound
110443016.0 Ops/sec
Related benchmarks:
Doc Testing
Testy Test
Testing lodash methods
jfsdgdg
jfsdgdgg
Object.assign vs direct assignment 2
ObjectDefineProperty
Object.create(null) vs {} unknown property
State Key Creation (With Preparation Code)
Comments
Confirm delete:
Do you really want to delete benchmark?