Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:146.0) Gecko/20100101 Firefox/146.0
Firefox 146
Mac OS X 10.15
Desktop
4 months ago
Test name Executions per second
immer 23083.3 Ops/sec
shallow copy 289050.2 Ops/sec
ramda lens 128473.7 Ops/sec
Immutable js test 1067374.2 Ops/sec
immutable js (toJS) 35950.4 Ops/sec
mutate 36284456.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • immer

  • shallow copy

  • ramda lens

  • Immutable js test

  • immutable js (toJS)

  • mutate