Script Preparation code:
Tests:
  • object.assign

  • spread

  • without immutable

  • create new object with assign

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    object.assign
    spread
    without immutable
    create new object with assign

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 10 months ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0 Safari/537.36
Chrome 137 on Mac OS X 10.15.7
View result in a separate tab
Test name Executions per second
object.assign 11508653.0 Ops/sec
spread 5249312.5 Ops/sec
without immutable 9553102.0 Ops/sec
create new object with assign 532890.1 Ops/sec