Run details:
Mozilla/5.0 (Linux; Android 12; SAMSUNG SM-G970F) AppleWebKit/537.36 (KHTML, like Gecko) SamsungBrowser/17.0 Chrome/96.0.4664.104 Mobile Safari/537.36
Chrome Mobile 96
Android
Mobile
2 years ago
Test name Executions per second
Lodash cloneDeep 1679.9 Ops/sec
Deep clone with JSON.parse(JSON.stringify(obj)) 2102.4 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Lodash cloneDeep

  • Deep clone with JSON.parse(JSON.stringify(obj))


;