Toggle navigation
MeasureThat
.net
Create a benchmark
Tools
Feedback
Feature Requests
FAQ
Register
Log In
Run results for:
for forEach fixed
Go to the benchmark
Embed
Embed Benchmark Result
Run details:
User agent:
Mozilla/5.0 (X11; Linux x86_64; rv:134.0) Gecko/20100101 Firefox/134.0
Browser:
Firefox 134
Operating system:
Linux
Device Platform:
Desktop
Date tested:
one year ago
Benchmark engine:
Benchmark.js
for
26K/s
forEach
24K/s
View exact numbers
Test name
Executions per second
✓
for
25,683 Ops/sec
forEach
24,153 Ops/sec
Script Preparation code:
var list34 = ['str_1', 'str_3', 'str_4', 'str_5', 'str_6', 'str_7', 'str_8', 'mn_1', 'mn_2']
Tests:
forEach
list34.forEach(column => { console.log(column) })
for
for(var i = 0; i < list34.length; i++){ console.log(list34[i]) }