Script Preparation code:
Tests:

Historical Performance Data aggregated from 30 community runs

Desktop Results:
Chrome 30 runs
JSON.stringify
57K/s
DeepClone
18K/s

Fastest: JSON.stringify (3.2x faster)

View exact numbers
  • JSON.stringify: 56,941 ops/sec
  • DeepClone: 17,562 ops/sec

Results show median performance across all community submissions. Run this benchmark yourself to verify on your device.

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    DeepClone
    JSON.stringify

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one year ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0 Safari/537.36
Chrome 137 on Windows
View result in a separate tab
DeepClone
246K/s
JSON.stringify
139K/s
View exact numbers
Test name Executions per second
DeepClone 246,233 Ops/sec
JSON.stringify 138,912 Ops/sec