Script Preparation code:
Tests:
  • for (lenght 另外儲存)

  • foreach with operation

  • some

  • for..of

  • for (lenght 不另外儲存)

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    for (lenght 另外儲存)
    foreach with operation
    some
    for..of
    for (lenght 不另外儲存)

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 11 months ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36
Chrome 120 on Mac OS X 10.15.7
View result in a separate tab
Test name Executions per second
for (lenght 另外儲存) 294736.3 Ops/sec
foreach with operation 4302686.5 Ops/sec
some 4290174.0 Ops/sec
for..of 250573.2 Ops/sec
for (lenght 不另外儲存) 156693.6 Ops/sec


;