Script Preparation code:
Tests:
  • for-i: classic

  • for-i: Math.max

  • for-i: Ternary

  • for-i: cache length

  • for-i: cache value

  • for-of

  • reduce

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    for-i: classic
    for-i: Math.max
    for-i: Ternary
    for-i: cache length
    for-i: cache value
    for-of
    reduce

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 7 months ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.4 Safari/605.1.15
Safari 17 on Mac OS X 10.15.7
View result in a separate tab
Test name Executions per second
for-i: classic 388928.8 Ops/sec
for-i: Math.max 218303.8 Ops/sec
for-i: Ternary 389481.1 Ops/sec
for-i: cache length 737538.4 Ops/sec
for-i: cache value 781968.3 Ops/sec
for-of 10594096.0 Ops/sec
reduce 11984394.0 Ops/sec


;