Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/116.0
Firefox 116
Mac OS X 10.15
Desktop
one year ago
Test name Executions per second
Lodash cloneDeep 7786.3 Ops/sec
Native structuredClone 9831.6 Ops/sec
clone(); 293.8 Ops/sec
_cloneDeep custom underscore/lodash 23676.8 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Lodash cloneDeep

  • Native structuredClone

  • clone();

  • _cloneDeep custom underscore/lodash