Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36
Chrome 129
Windows
Desktop
one month ago
Test name Executions per second
Lodash cloneDeep 470537.8 Ops/sec
Json clone 453507.0 Ops/sec
Ramda clone 865809.2 Ops/sec
hand rolled 559082.6 Ops/sec
spread 4135110.5 Ops/sec
obj.assign 617085.1 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Lodash cloneDeep

  • Json clone

  • Ramda clone

  • hand rolled

  • spread

  • obj.assign


;