Script Preparation code:
Tests:
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 year 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
spread syntax
29.7M/s
Object.assign()
3.6M/s
JSON.parse(JSON.stringify())
486K/s
structuredClone()
241K/s
View exact numbers
Test name Executions per second
spread syntax 29,666,498 Ops/sec
Object.assign() 3,646,825 Ops/sec
JSON.parse(JSON.stringify()) 486,296 Ops/sec
structuredClone() 240,585 Ops/sec