HTML Preparation code:
Script Preparation code:
Tests:

Historical Performance Data aggregated from 56 community runs

Desktop Results:
Chrome 51 runs
immer.produce()
640K/s
_.cloneDeep
38/s

Fastest: immer.produce() (16769.1x faster)

View exact numbers
  • immer.produce(): 639,654 ops/sec
  • _.cloneDeep: 38 ops/sec
Mobile Results:
Safari 5 runs
immer.produce()
805K/s
_.cloneDeep
39/s

Fastest: immer.produce() (20860.3x faster)

View exact numbers
  • immer.produce(): 805,277 ops/sec
  • _.cloneDeep: 39 ops/sec

Results show median performance across all community submissions. Run this benchmark yourself to verify on your device.

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    immer.produce()
    _.cloneDeep

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 8 months ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36
Chrome 143 on Mac OS X 10.15.7
View result in a separate tab
immer.produce()
460K/s
_.cloneDeep
65/s
View exact numbers
Test name Executions per second
immer.produce() 459,695 Ops/sec
_.cloneDeep 65 Ops/sec