Immer(produce) vs lodash(cloneDeep)

3 months ago
User agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.5005.61 Safari/537.36
Test name Executions per second
Immer produce 295133.3 Ops/sec
Lodash clonedeep 633767.3 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Immer produce

  • Lodash clonedeep

Open this result on MeasureThat.net