Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36
Chrome 112
Mac OS X 10.15.7
Desktop
one year ago
Test name Executions per second
Lodash cloneDeep 1338677.0 Ops/sec
Native structuredClone 499759.2 Ops/sec
JSON Parse 679504.9 Ops/sec
Indirect JSON Parse 648486.3 Ops/sec
In-house deepcopy 1476377.4 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Lodash cloneDeep

  • Native structuredClone

  • JSON Parse

  • Indirect JSON Parse

  • In-house deepcopy


;