Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36
Chrome 131
Mac OS X 10.15.7
Desktop
3 days ago
Test name Executions per second
Recursive Deep Copy 1 2905161.5 Ops/sec
Recursive Deep Copy 2 4190367.5 Ops/sec
JSON Deep Copy 128728.4 Ops/sec
lodash cloneDeep 58965.7 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Recursive Deep Copy 1

  • Recursive Deep Copy 2

  • JSON Deep Copy

  • lodash cloneDeep


;