Tests:
  • immutable with concat

  • direct mutation with splice + spread

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: 5 years ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.75 Safari/537.36
Chrome 73 on Mac OS X 10.14.0
View result in a separate tab
Test name Executions per second
immutable with concat 474.6 Ops/sec
direct mutation with splice + spread 4071.4 Ops/sec


;