Toggle navigation
MeasureThat
.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
Run results for:
Arrow function vs bind function dont bind
Go to the benchmark
Embed
Embed Benchmark Result
Run details:
User agent:
Mozilla/5.0 (Android 14; Mobile; rv:124.0) Gecko/124.0 Firefox/124.0
Browser:
Firefox Mobile 124
Operating system:
Android
Device Platform:
Mobile
Date tested:
2 years ago
Bind function
1193.5M/s
Arrow function
1186.4M/s
View exact numbers
Test name
Executions per second
✓
Bind function
1,193,521,664 Ops/sec
Arrow function
1,186,436,992 Ops/sec
Script Preparation code:
arrowFn = () => this bindFn = (function() { return this })
Tests:
Arrow function
arrowFn()
Bind function
bindFn()