Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/110.0
Firefox 110
Mac OS X 10.15
Desktop
one year ago
Test name Executions per second
Structured clone 39379.8 Ops/sec
Deep copy 169986.6 Ops/sec
JSON stringify + parse 58265.9 Ops/sec
Spread operator 845946.9 Ops/sec
Deep copy 2 154955.6 Ops/sec
Script Preparation code:
Tests:
  • Structured clone

  • Deep copy

  • JSON stringify + parse

  • Spread operator

  • Deep copy 2


;