Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36
Chrome 121
Linux
Desktop
10 months ago
Test name Executions per second
Recursive Deep Copy 857920.6 Ops/sec
JSON Deep Copy 97564.6 Ops/sec
lodash clone 43148.1 Ops/sec
spreadDeepCopy 2933584.0 Ops/sec
assingDeepCopy 2328079.5 Ops/sec
cloneObject 114051.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Recursive Deep Copy

  • JSON Deep Copy

  • lodash clone

  • spreadDeepCopy

  • assingDeepCopy

  • cloneObject


;