Script Preparation code:
Tests:
  • entries

  • for

  • foreach

  • some

  • every

  • for-length

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    entries
    for
    foreach
    some
    every
    for-length

    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) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36 Edg/115.0.1901.188
Chrome 115 on Windows
View result in a separate tab
Test name Executions per second
entries 382486.5 Ops/sec
for 30506.1 Ops/sec
foreach 542238.2 Ops/sec
some 562642.5 Ops/sec
every 553186.7 Ops/sec
for-length 84313.0 Ops/sec