Run details:
Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Mobile Safari/537.36
Chrome Mobile 119
Android
Mobile
one year ago
Test name Executions per second
Lodash cloneDeep 288287.6 Ops/sec
Json clone 240742.6 Ops/sec
Ramda clone 449607.9 Ops/sec
hand rolled 229493.4 Ops/sec
spread 2036297.5 Ops/sec
obj.assign 1084509.4 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Lodash cloneDeep

  • Json clone

  • Ramda clone

  • hand rolled

  • spread

  • obj.assign


;