Run details:
Mozilla/5.0 (Linux; Android 10; Mi MIX 3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Mobile Safari/537.36
Chrome Mobile 108
Android
Mobile
one year ago
Test name Executions per second
immer 5164.1 Ops/sec
shallow copy 284743.8 Ops/sec
ramda lens 23450.1 Ops/sec
Immutable js test 287103.0 Ops/sec
immutable js (toJS) 11472.5 Ops/sec
mutate 832336.8 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • immer

  • shallow copy

  • ramda lens

  • Immutable js test

  • immutable js (toJS)

  • mutate