Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
Run results for:
fn vs afn
Go to the benchmark
Embed
Embed Benchmark Result
Run details:
User agent:
Mozilla/5.0 (iPhone; CPU iPhone OS 15_5 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.5 Mobile/15E148 Safari/604.1
Browser:
Mobile Safari 15
Operating system:
iOS 15.5
Device Platform:
Mobile
Date tested:
2 years ago
Test name
Executions per second
1
6445334.5 Ops/sec
2
6288280.0 Ops/sec
3
5169062.0 Ops/sec
Script Preparation code:
var X = 0; var A = function(V) {return X = V;}; var B = V => X = V; var C = V => B(V);
Tests:
1
A(++X);
2
B(++X);
3
C(++X);