Script Preparation code:
Tests:

Historical Performance Data aggregated from 13 community runs

Desktop Results:
Chrome 13 runs
Destructuring
3.8M/s
JSON.stringify
2.3M/s

Fastest: Destructuring (1.7x faster)

View exact numbers
  • Destructuring: 3,847,632 ops/sec
  • JSON.stringify: 2,299,273 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
    JSON.stringify
    Destructuring

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 7 months ago)
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.127 Safari/537.36 OPR/60.3.3004.55692
Opera 60 on Linux
View result in a separate tab
Destructuring
442K/s
JSON.stringify
92K/s
View exact numbers
Test name Executions per second
Destructuring 442,181 Ops/sec
JSON.stringify 92,066 Ops/sec