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:
one month ago
Test name
Executions per second
Normal function
101702888.0 Ops/sec
Arrow function
111397736.0 Ops/sec
Normal function (0,0)
100952576.0 Ops/sec
Arrow function (0,0)
97409488.0 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);