Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36
Chrome 125
Linux
Desktop
6 months ago
Test name Executions per second
Lodash cloneDeep 989455.4 Ops/sec
Json clone 849583.8 Ops/sec
Ramda clone 1499380.1 Ops/sec
hand rolled 1029715.2 Ops/sec
spread 7786011.5 Ops/sec
obj.assign 3581962.5 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Lodash cloneDeep

  • Json clone

  • Ramda clone

  • hand rolled

  • spread

  • obj.assign


;