Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.93 Safari/537.36
Chrome 90
Linux
Desktop
3 years ago
Test name Executions per second
immer 8055.8 Ops/sec
shallow copy 558017.1 Ops/sec
ramda lens 28402.9 Ops/sec
Immutable js test 304041.5 Ops/sec
immutable js (toJS) 6646.7 Ops/sec
mutate 1364174.4 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • immer

  • shallow copy

  • ramda lens

  • Immutable js test

  • immutable js (toJS)

  • mutate