Script Preparation code:
Tests:
  • JSON.stringify

  • structuredClone

  • spread

  • Object.assign

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    JSON.stringify
    structuredClone
    spread
    Object.assign

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 6 months ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:143.0) Gecko/20100101 Firefox/143.0
Firefox 143 on Mac OS X 10.15
View result in a separate tab
Test name Executions per second
JSON.stringify 1878775.1 Ops/sec
structuredClone 1981056.2 Ops/sec
spread 25307286.0 Ops/sec
Object.assign 61702624.0 Ops/sec