Tests:
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    immutable with concat
    direct mutation with splice + spread

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 11 months ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0) Gecko/20100101 Firefox/143.0
Firefox 143 on Windows
View result in a separate tab
direct mutation with splice + spread
12.4M/s
immutable with concat
10.6M/s
View exact numbers
Test name Executions per second
direct mutation with splice + spread 12,395,495 Ops/sec
immutable with concat 10,557,820 Ops/sec