Script Preparation code:
Tests:
  • for

  • foreach

  • some

  • for..of

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

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

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 2 months ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Firefox/78.0
Firefox 78 on Mac OS X 10.15
View result in a separate tab
Test name Executions per second
for 170967.9 Ops/sec
foreach 787708.3 Ops/sec
some 656214.3 Ops/sec
for..of 17608.1 Ops/sec

Recommended literature: