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/118.0.0.0 Safari/537.36
Chrome 118 on Mac OS X 10.15.7
View result in a separate tab
Test name Executions per second
for (lenght 另外儲存) 319884.4 Ops/sec
foreach with operation 108578.1 Ops/sec
some 101570.2 Ops/sec
for..of 332441.1 Ops/sec
for (lenght 不另外儲存) 3663.3 Ops/sec


;