Tests:
  • immutable with concat

  • mutation with splice + spread

  • mutation with splice into preallocated array

  • mutation with loop-assign

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    immutable with concat
    mutation with splice + spread
    mutation with splice into preallocated array
    mutation with loop-assign

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 5 years ago)
Mozilla/5.0 (Android 9; Tablet; rv:66.0) Gecko/66.0 Firefox/66.0
Firefox 66 on Android
View result in a separate tab
Test name Executions per second
immutable with concat 23.4 Ops/sec
mutation with splice + spread 951.9 Ops/sec
mutation with splice into preallocated array 1024.8 Ops/sec
mutation with loop-assign 24848.8 Ops/sec


;