Skip to content

Benchmarks

Click on any image to see the respective chart in a new tab.

The bars are referred respectively to those libraries:

  1. Structura - with or without strict copy (maps, sets and patches are always enabled)
  2. Immer - with or without autofreeze (maps, sets and patches are always disabled)
  3. Immutable - with or without calling toJS (fromJS is never used)

The higher and greener the bar, the better.

The benchmarks were performed on a machine with these specs:

CPU: Intel(R) Core(TM) i7-8750H @ 2.20GHz

RAM: 32GB

OS: Windows 10

Complex object, many modifications

Complex object, few modifications

Nested object, many modifications

Nested object, few modifications

Simple object, many modifications

Simple object, few modifications