Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36
Chrome 114
Mac OS X 10.15.7
Desktop
one year ago
Test name Executions per second
immer 28016.7 Ops/sec
shallow copy 1714159.2 Ops/sec
ramda lens 107337.4 Ops/sec
Immutable js test 1212408.1 Ops/sec
immutable js (toJS) 40113.3 Ops/sec
mutate 4206620.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • immer

  • shallow copy

  • ramda lens

  • Immutable js test

  • immutable js (toJS)

  • mutate