Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36
Chrome 107
Linux
Desktop
2 years ago
Test name Executions per second
Angular copy 199213.7 Ops/sec
Angular copy depth 2 194517.9 Ops/sec
Lodash Clone 182651.1 Ops/sec
Lodash Deep Clone 75511.5 Ops/sec
To JSON and Back 82242.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Angular copy

  • Angular copy depth 2

  • Lodash Clone

  • Lodash Deep Clone

  • To JSON and Back