Run details:
Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Mobile Safari/537.36
Chrome Mobile 120
Android
Mobile
11 months ago
Test name Executions per second
Lodash cloneDeep 613332.0 Ops/sec
Json clone 478728.7 Ops/sec
Ramda clone 930319.2 Ops/sec
hand rolled 433934.6 Ops/sec
spread 4431129.0 Ops/sec
obj.assign 2178547.5 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Lodash cloneDeep

  • Json clone

  • Ramda clone

  • hand rolled

  • spread

  • obj.assign


;