Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 YaBrowser/24.4.0.0 Safari/537.36
Yandex Browser 24
Mac OS X 10.15.7
Desktop
5 months ago
Test name Executions per second
Lodash cloneDeep 19246.3 Ops/sec
Native structuredClone 22212.0 Ops/sec
clone(); 182.9 Ops/sec
_cloneDeep custom underscore/lodash 12063.9 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Lodash cloneDeep

  • Native structuredClone

  • clone();

  • _cloneDeep custom underscore/lodash