Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:120.0) Gecko/20100101 Firefox/120.0
Firefox 120
Mac OS X 10.15
Desktop
11 months ago
Test name Executions per second
Lodash cloneDeep 1488916.5 Ops/sec
Json clone 696752.5 Ops/sec
Ramda clone 1616841.1 Ops/sec
hand rolled 2610421.5 Ops/sec
spread 17565268.0 Ops/sec
obj.assign 37084244.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Lodash cloneDeep

  • Json clone

  • Ramda clone

  • hand rolled

  • spread

  • obj.assign


;