Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 OPR/112.0.0.0
Opera 112
Windows
Desktop
4 months ago
Test name Executions per second
Angular copy 480869.7 Ops/sec
Angular copy depth 2 493231.9 Ops/sec
Lodash Clone 498929.9 Ops/sec
Lodash Deep Clone 208069.4 Ops/sec
To JSON and Back 240630.3 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Angular copy

  • Angular copy depth 2

  • Lodash Clone

  • Lodash Deep Clone

  • To JSON and Back