Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.71 Safari/537.36
Chrome 97
Linux
Desktop
2 years ago
Test name Executions per second
immer 11990.6 Ops/sec
shallow copy 777835.4 Ops/sec
ramda lens 49961.5 Ops/sec
Immutable js test 626106.6 Ops/sec
immutable js (toJS) 13319.4 Ops/sec
mutate 1767527.5 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • immer

  • shallow copy

  • ramda lens

  • Immutable js test

  • immutable js (toJS)

  • mutate