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:138.0) Gecko/20100101 Firefox/138.0
Browser:
Firefox 138
Operating system:
Linux
Device Platform:
Desktop
Date tested:
one year ago
function
2576.9M/s
const
2569.2M/s
View exact numbers
Test name
Executions per second
✓
function
2,576,902,400 Ops/sec
const
2,569,161,216 Ops/sec
Tests:
const
const fun = ()=>{var a = 1}; fun();
function
function fun(){var a = 1} fun();