Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36
Chrome 119
Linux
Desktop
one year ago
Test name Executions per second
immer 28495.6 Ops/sec
shallow copy 1815981.6 Ops/sec
ramda lens 99689.7 Ops/sec
Immutable js test 1249766.6 Ops/sec
immutable js (toJS) 42685.3 Ops/sec
mutate 4513007.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • immer

  • shallow copy

  • ramda lens

  • Immutable js test

  • immutable js (toJS)

  • mutate