Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:63.0) Gecko/20100101 Firefox/63.0
Firefox 63
Windows
Desktop
6 years ago
Test name Executions per second
Angular copy 91081.3 Ops/sec
Angular copy depth 2 90386.7 Ops/sec
Lodash Clone 133807.2 Ops/sec
Lodash Deep Clone 32811.2 Ops/sec
To JSON and Back 56993.5 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Angular copy

  • Angular copy depth 2

  • Lodash Clone

  • Lodash Deep Clone

  • To JSON and Back