Skip to content
Myr

Merge pull request #55 from typicode/patch-1

Before adoption: this commit came in with the history the project adopted, so no landing records it.

fix benchmark link

authored by Michel Weststrate · committed by GitHub · parents 553b6ce, d332ed6 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:readme.md+1 added-1 removed
271 unmodified lines
272Read the (second part of the) [introduction blog](https://medium.com/@mweststrate/9d73d8f71cb3).273274## Performance275276Here is a [simple benchmark](__tests__/performance.js) on the performance of Immer.276Here is a [simple benchmark](__performance_tests__/todo.js) on the performance of Immer.277This test takes 100.000 todo items, and updates 10.000 of them.278_Freeze_ indicates that the state tree has been frozen after producing it. This is a _development_ best practice, as it prevents developers from accidentally modifying the state tree.279280These tests were executed on Node 8.4.0.
19 unmodified lines