Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:108.0) Gecko/20100101 Firefox/108.0
Firefox 108
Ubuntu
Desktop
2 years ago
Test name Executions per second
immer 13272.0 Ops/sec
shallow copy 135380.0 Ops/sec
ramda lens 54758.5 Ops/sec
Immutable js test 405284.8 Ops/sec
immutable js (toJS) 13082.6 Ops/sec
mutate 20495832.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • immer

  • shallow copy

  • ramda lens

  • Immutable js test

  • immutable js (toJS)

  • mutate