Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.77 Safari/537.36
Chrome 91
Linux
Desktop
3 years ago
Test name Executions per second
immer 10662.9 Ops/sec
shallow copy 709484.9 Ops/sec
ramda lens 37670.1 Ops/sec
Immutable js test 442648.8 Ops/sec
immutable js (toJS) 10080.0 Ops/sec
mutate 1663652.5 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • immer

  • shallow copy

  • ramda lens

  • Immutable js test

  • immutable js (toJS)

  • mutate