Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/110.0
Firefox 110
Linux
Desktop
one year ago
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
Script Preparation code:
Tests:
  • Structured clone

  • Deep copy

  • JSON stringify + parse

  • Spread operator

  • Deep copy 2


;