Toggle navigation
MeasureThat
.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
Run results for:
For Loop Leng Inside and Outside
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/138.0.0.0 YaBrowser/25.8.0.0 Safari/537.36
Browser:
Yandex Browser 25
Operating system:
Windows
Device Platform:
Desktop
Date tested:
10 months ago
Outside
3K/s
Inside
744/s
View exact numbers
Test name
Executions per second
✓
Outside
3,124 Ops/sec
Inside
744 Ops/sec
Script Preparation code:
var arr = new Array(1000000).fill(0)
Tests:
Inside
for (let i = 0; i < arr.length; i++) {}
Outside
const length = arr.length for (let i = 0; i < length; i++) {}