Run details:
Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Mobile Safari/537.36
Chrome Mobile 121
Android
Mobile
9 months ago
Test name Executions per second
Lodash cloneDeep 703213.1 Ops/sec
Json clone 566516.4 Ops/sec
Ramda clone 1002917.8 Ops/sec
hand rolled 477148.0 Ops/sec
spread 4144067.2 Ops/sec
obj.assign 2187238.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Lodash cloneDeep

  • Json clone

  • Ramda clone

  • hand rolled

  • spread

  • obj.assign


;