Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36
Chrome 111
Mac OS X 10.15.7
Desktop
one year ago
Test name Executions per second
DeepClone1 236034.0 Ops/sec
deepClone2 296397.4 Ops/sec
deepClone3 230817.2 Ops/sec
deepClone4 348902.2 Ops/sec
structuredClone 330678.2 Ops/sec
JSON 489934.0 Ops/sec
Script Preparation code:
Tests:
  • DeepClone1

  • deepClone2

  • deepClone3

  • deepClone4

  • structuredClone

  • JSON