Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36
Chrome 109
Mac OS X 10.15.7
Desktop
one year ago
Test name Executions per second
immer 28523.0 Ops/sec
shallow copy 1783198.8 Ops/sec
ramda lens 115115.2 Ops/sec
Immutable js test 1307516.5 Ops/sec
immutable js (toJS) 44658.7 Ops/sec
mutate 4048422.5 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • immer

  • shallow copy

  • ramda lens

  • Immutable js test

  • immutable js (toJS)

  • mutate