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

  • Native structuredClone

  • clone();

  • _cloneDeep custom underscore/lodash