Script Preparation code:
Tests:
  • for 1

  • foreach

  • some

  • for..of

  • for..in

  • for 2

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    for 1
    foreach
    some
    for..of
    for..in
    for 2

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 3 years ago)
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) QtWebEngine/5.15.2 Chrome/87.0.4280.144 Safari/537.36
Chrome 87 on Linux
View result in a separate tab
Test name Executions per second
for 1 3194.6 Ops/sec
foreach 5053.5 Ops/sec
some 5071.0 Ops/sec
for..of 5607.9 Ops/sec
for..in 4204.1 Ops/sec
for 2 6229.1 Ops/sec


;