Run details:
Mozilla/5.0 (Linux; Android 11; IN2023) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.93 Mobile Safari/537.36
Chrome Mobile 88
Android
Mobile
3 years ago
Test name Executions per second
immer 6234.2 Ops/sec
shallow copy 433499.8 Ops/sec
ramda lens 34302.0 Ops/sec
Immutable js test 392267.0 Ops/sec
immutable js (toJS) 8630.0 Ops/sec
mutate 952037.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • immer

  • shallow copy

  • ramda lens

  • Immutable js test

  • immutable js (toJS)

  • mutate