Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.5112.126 Safari/537.36
Chrome 104
Windows
Desktop
one year ago
Test name Executions per second
Lodash cloneDeep 493247.0 Ops/sec
Native structuredClone 179266.3 Ops/sec
JSON.stringify 306539.5 Ops/sec
Immer Produce 94412.7 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Lodash cloneDeep

  • Native structuredClone

  • JSON.stringify

  • Immer Produce