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 555920.9 Ops/sec
Json clone 436468.6 Ops/sec
Ramda clone 830383.4 Ops/sec
hand rolled 383613.4 Ops/sec
spread 3724180.5 Ops/sec
obj.assign 1885659.4 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Lodash cloneDeep

  • Json clone

  • Ramda clone

  • hand rolled

  • spread

  • obj.assign


;