Tests:
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    split()
    Array.from()
    push() -> for of
    push -> for

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 2 years ago)
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36
Chrome 120 on Linux
View result in a separate tab
split()
106.4M/s
push -> for
55.9M/s
push() -> for of
40.8M/s
Array.from()
13.7M/s
View exact numbers
Test name Executions per second
split() 106,448,592 Ops/sec
push -> for 55,866,668 Ops/sec
push() -> for of 40,797,200 Ops/sec
Array.from() 13,651,917 Ops/sec