Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.77 Safari/537.36
Chrome 91
Linux
Desktop
3 years ago
Test name Executions per second
immer 9636.4 Ops/sec
shallow copy 661564.3 Ops/sec
ramda lens 35960.0 Ops/sec
Immutable js test 374201.6 Ops/sec
immutable js (toJS) 9872.9 Ops/sec
mutate 1629743.8 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • immer

  • shallow copy

  • ramda lens

  • Immutable js test

  • immutable js (toJS)

  • mutate