Toggle navigation
MeasureThat
.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
Run results for:
Arrow function vs bind function
Go to the benchmark
Embed
Embed Benchmark Result
Run details:
User agent:
Mozilla/5.0 (X11; Linux x86_64; rv:149.0) Gecko/20100101 Firefox/149.0
Browser:
Firefox 149
Operating system:
Linux
Device Platform:
Desktop
Date tested:
3 months ago
Arrow function
1234.3M/s
Bind function
80.0M/s
View exact numbers
Test name
Executions per second
✓
Arrow function
1,234,265,728 Ops/sec
Bind function
80,045,400 Ops/sec
Script Preparation code:
arrowFn = () => this bindFn = (function() { return this }).bind(this)
Tests:
Arrow function
arrowFn()
Bind function
bindFn()