Script Preparation code:
Tests:
  • slice

  • spread operator

  • push apply into empty array

  • Array.from

  • Object.values

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    slice
    spread operator
    push apply into empty array
    Array.from
    Object.values

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 20 days ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:133.0) Gecko/20100101 Firefox/133.0
Firefox 133 on Mac OS X 10.15
View result in a separate tab
Test name Executions per second
slice 8367287.0 Ops/sec
spread operator 3762632.0 Ops/sec
push apply into empty array 9080717.0 Ops/sec
Array.from 3072857.2 Ops/sec
Object.values 5960292.5 Ops/sec