Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36 Edg/119.0.0.0
Chrome 119
Windows
Desktop
one year ago
Test name Executions per second
Lodash cloneDeep 980958.8 Ops/sec
Native structuredClone 213556.8 Ops/sec
recursiveDeepCopy 1102040.2 Ops/sec
Json Clone 761632.9 Ops/sec
Fast Copy 1946660.1 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Lodash cloneDeep

  • Native structuredClone

  • recursiveDeepCopy

  • Json Clone

  • Fast Copy


;