Toggle navigation
MeasureThat
.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
Run results for:
Normal function vs Arrow function comparison
Go to the benchmark
Embed
Embed Benchmark Result
Run details:
User agent:
Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Mobile Safari/537.36
Browser:
Chrome Mobile 146
Operating system:
Android
Device Platform:
Mobile
Date tested:
4 months ago
Arrow function
111.4M/s
Normal function
101.7M/s
Normal function (0,0)
101.0M/s
Arrow function (0,0)
97.4M/s
View exact numbers
Test name
Executions per second
✓
Arrow function
111,397,736 Ops/sec
Normal function
101,702,888 Ops/sec
Normal function (0,0)
100,952,576 Ops/sec
Arrow function (0,0)
97,409,488 Ops/sec
Script Preparation code:
fn = function(a, b) { return a + b - 1 * b / a; }; afn = (a, b) => a + b - 1 * b / a;
Tests:
Normal function
fn();
Arrow function
afn();
Normal function (0,0)
fn(0,0);
Arrow function (0,0)
afn(0,0);