Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36
Chrome 112
Windows
Desktop
one year ago
Test name Executions per second
Lodash cloneDeep 748930.8 Ops/sec
Native map deep slice(turns objects into arrays) 4085027.2 Ops/sec
Native map deep slice at 0(turns objects into arrays) 4007823.2 Ops/sec
Deep Clone test 776237.2 Ops/sec
Native Structured Clone 318288.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Lodash cloneDeep

  • Deep Clone test

  • Alt Clone

  • Alt Clone Keys


;