Toggle navigation
MeasureThat
.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
Run results for:
Const vs Function
Go to the benchmark
Embed
Embed Benchmark Result
Run details:
User agent:
Mozilla/5.0 (X11; Linux x86_64; rv:133.0) Gecko/20100101 Firefox/133.0
Browser:
Firefox 133
Operating system:
Linux
Device Platform:
Desktop
Date tested:
one year ago
const
1735.0M/s
function
1699.4M/s
View exact numbers
Test name
Executions per second
✓
const
1,734,992,768 Ops/sec
function
1,699,356,800 Ops/sec
Tests:
const
const fun = ()=>{var a = 1}; fun();
function
function fun(){var a = 1} fun();