HTML Preparation code:
Script Preparation code:
Tests:
  • Object.assign

  • Mutate

  • Spread

  • immer pull up

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Object.assign
    Mutate
    Spread
    immer pull up

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 2 years ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Firefox/102.0
Firefox 102 on Mac OS X 10.15
View result in a separate tab
Test name Executions per second
Object.assign 27170068.0 Ops/sec
Mutate 857568512.0 Ops/sec
Spread 25621.2 Ops/sec
immer pull up 1164741.5 Ops/sec