Script Preparation code:
Tests:
  • For I

  • For Of

  • Spread

  • ForEach

  • Slice

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    For I
    For Of
    Spread
    ForEach
    Slice

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one year ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:107.0) Gecko/20100101 Firefox/107.0
Firefox 107 on Windows
View result in a separate tab
Test name Executions per second
For I 21814.3 Ops/sec
For Of 42828.0 Ops/sec
Spread 80300.6 Ops/sec
ForEach 41361.4 Ops/sec
Slice 81976.0 Ops/sec


;