Script Preparation code:
Tests:
  • structuredClone()

  • spread syntax

  • Object.assign()

  • JSON.parse(JSON.stringify())

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    structuredClone()
    spread syntax
    Object.assign()
    JSON.parse(JSON.stringify())

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one month ago)
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Safari/537.36 Edg/134.0.0.0
Chrome 134 on Linux
View result in a separate tab
Test name Executions per second
structuredClone() 240585.3 Ops/sec
spread syntax 29666498.0 Ops/sec
Object.assign() 3646825.0 Ops/sec
JSON.parse(JSON.stringify()) 486296.5 Ops/sec