Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:97.0) Gecko/20100101 Firefox/97.0
Firefox 97
Linux
Desktop
2 years ago
Test name Executions per second
immer 8824.1 Ops/sec
shallow copy 95595.6 Ops/sec
ramda lens 31040.4 Ops/sec
Immutable js test 255832.1 Ops/sec
immutable js (toJS) 8693.7 Ops/sec
mutate 11762941.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • immer

  • shallow copy

  • ramda lens

  • Immutable js test

  • immutable js (toJS)

  • mutate