Run details:
Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Mobile Safari/537.36
Chrome Mobile 114
Android
Mobile
one year ago
Test name Executions per second
Lodash cloneDeep 279551.8 Ops/sec
Json clone 118351.9 Ops/sec
Ramda clone 441441.6 Ops/sec
hand rolled 192919.9 Ops/sec
spread 1771675.0 Ops/sec
obj.assign 901477.8 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Lodash cloneDeep

  • Json clone

  • Ramda clone

  • hand rolled

  • spread

  • obj.assign


;