Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/116.0
Firefox 116
Windows
Desktop
one year ago
Test name Executions per second
Lodash cloneDeep 345483.9 Ops/sec
Json clone 270518.2 Ops/sec
Ramda clone 504509.5 Ops/sec
hand rolled 738926.1 Ops/sec
spread 4677907.0 Ops/sec
obj.assign 5890594.5 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Lodash cloneDeep

  • Json clone

  • Ramda clone

  • hand rolled

  • spread

  • obj.assign


;