Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.182 Safari/537.36
Chrome 88
Windows
Desktop
3 years ago
Test name Executions per second
immer 6669.7 Ops/sec
shallow copy 704764.8 Ops/sec
ramda lens 48171.9 Ops/sec
Immutable js test 533626.5 Ops/sec
immutable js (toJS) 10588.5 Ops/sec
mutate 1512806.4 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • immer

  • shallow copy

  • ramda lens

  • Immutable js test

  • immutable js (toJS)

  • mutate