Toggle navigation
MeasureThat
.net
Create a benchmark
Tools
Feedback
Feature Requests
FAQ
Register
Log In
Run results for:
var-let-const3
Go to the benchmark
Embed
Embed Benchmark Result
Run details:
User agent:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36 OPR/113.0.0.0
Browser:
Opera 113
Operating system:
Windows
Device Platform:
Desktop
Date tested:
2 years ago
Benchmark engine:
Benchmark.js
let
21.0M/s
const
20.7M/s
var
20.5M/s
View exact numbers
Test name
Executions per second
✓
let
20,957,574 Ops/sec
const
20,728,496 Ops/sec
var
20,506,482 Ops/sec
Tests:
const
const g = { e: [] } g.o = function(x) { g.e.push(...[1,2,3]) } g.o() return g;
let
let g = { e: [] } g.o = function(x) { g.e.push(...[1,2,3]) } g.o() return g;
var
var g = { e: [] } g.o = function(x) { g.e.push(...[1,2,3]) } g.o() return g;