HTML Preparation code:
Script Preparation code:
Tests:

Historical Performance Data aggregated from 5 community runs

Desktop Results:
Chrome 5 runs
immer.produce()
5.0M/s
structuredClone
195/s

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

View exact numbers
  • immer.produce(): 5,001,465 ops/sec
  • structuredClone: 195 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()
    structuredClone

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 8 months ago)
Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Mobile Safari/537.36
Chrome Mobile 141 on Android
View result in a separate tab
immer.produce()
2.4M/s
structuredClone
72/s
View exact numbers
Test name Executions per second
immer.produce() 2,372,603 Ops/sec
structuredClone 72 Ops/sec