Script Preparation code:
Tests:
  • split + map + instance

  • for .. in 1

  • for .. in 2

  • classical loop

  • classical loop 2

  • for .. in loop 2

  • split+forEach

  • for .. in loop 3

  • for .. of loop 2

  • from

  • from + split

  • TextEncoder

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    split + map + instance
    for .. in 1
    for .. in 2
    classical loop
    classical loop 2
    for .. in loop 2
    split+forEach
    for .. in loop 3
    for .. of loop 2
    from
    from + split
    TextEncoder

    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; rv:126.0) Gecko/20100101 Firefox/126.0
Firefox 126 on Mac OS X 10.15
View result in a separate tab
Test name Executions per second
split + map + instance 724890.5 Ops/sec
for .. in 1 131956.3 Ops/sec
for .. in 2 127467.5 Ops/sec
classical loop 2565191.5 Ops/sec
classical loop 2 9882512.0 Ops/sec
for .. in loop 2 105923.1 Ops/sec
split+forEach 1427314.5 Ops/sec
for .. in loop 3 105692.0 Ops/sec
for .. of loop 2 842994.2 Ops/sec
from 672054.6 Ops/sec
from + split 438502.0 Ops/sec
TextEncoder 2529049.2 Ops/sec