Run details:
Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Mobile Safari/537.36
Chrome Mobile 113
Android
Mobile
one year ago
Test name Executions per second
immer 5138.6 Ops/sec
shallow copy 325085.2 Ops/sec
ramda lens 24165.6 Ops/sec
Immutable js test 298203.7 Ops/sec
immutable js (toJS) 11045.8 Ops/sec
mutate 897097.4 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • immer

  • shallow copy

  • ramda lens

  • Immutable js test

  • immutable js (toJS)

  • mutate