Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36
Chrome 119
Mac OS X 10.15.7
Desktop
one year ago
Test name Executions per second
immer 32999.8 Ops/sec
shallow copy 2174947.8 Ops/sec
ramda lens 127672.3 Ops/sec
Immutable js test 1506919.2 Ops/sec
immutable js (toJS) 46445.7 Ops/sec
mutate 4778861.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • immer

  • shallow copy

  • ramda lens

  • Immutable js test

  • immutable js (toJS)

  • mutate