Script Preparation code:
Tests:
  • Structured clone

  • Deep copy

  • JSON stringify + parse

  • Spread operator

  • Deep copy 2

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Structured clone
    Deep copy
    JSON stringify + parse
    Spread operator
    Deep copy 2

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one year ago)
Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/110.0
Firefox 110 on Linux
View result in a separate tab
Test name Executions per second
Structured clone 12562.4 Ops/sec
Deep copy 89332.1 Ops/sec
JSON stringify + parse 20764.4 Ops/sec
Spread operator 359677.3 Ops/sec
Deep copy 2 75636.2 Ops/sec


;