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 (Windows NT 10.0; Win64; x64; rv:136.0) Gecko/20100101 Firefox/136.0
Browser:
Firefox 136
Operating system:
Windows
Device Platform:
Desktop
Date tested:
one year ago
const
2290.3M/s
function
2281.1M/s
View exact numbers
Test name
Executions per second
✓
const
2,290,309,376 Ops/sec
function
2,281,130,752 Ops/sec
Tests:
const
const fun = ()=>{var a = 1}; fun();
function
function fun(){var a = 1} fun();