You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -109,23 +109,23 @@ Mutative is up to 6x faster than naive handcrafted reducer for updating immutabl
109
109
110
110
>Mutative passed all of Immer's test cases.
111
111
112
-
Measure(ops/sec) to update 50K arrays and 1K objects, bigger is better([view source](https://github.com/unadlib/mutative/blob/main/test/performance/benchmark.ts)).[Mutative v1.1.0 vs Immer v10.1.1]
112
+
Measure(ops/sec) to update 50K arrays and 1K objects, bigger is better([view source](https://github.com/unadlib/mutative/blob/main/test/performance/benchmark.ts)).[Mutative v1.3.0 vs Immer v10.1.1]
113
113
114
114

115
115
116
116
```
117
-
Naive handcrafted reducer - No Freeze x 4,670 ops/sec ±0.64% (96 runs sampled)
118
-
Mutative - No Freeze x 6,747 ops/sec ±0.61% (95 runs sampled)
119
-
Immer - No Freeze x 5.65 ops/sec ±1.53% (19 runs sampled)
117
+
Naive handcrafted reducer - No Freeze x 4,777 ops/sec ±1.06% (94 runs sampled)
118
+
Mutative - No Freeze x 6,783 ops/sec ±0.71% (96 runs sampled)
119
+
Immer - No Freeze x 5.72 ops/sec ±0.39% (19 runs sampled)
120
120
121
-
Mutative - Freeze x 1,062 ops/sec ±0.74% (95 runs sampled)
122
-
Immer - Freeze x394 ops/sec ±0.85% (93 runs sampled)
121
+
Mutative - Freeze x 1,069 ops/sec ±0.75% (97 runs sampled)
122
+
Immer - Freeze x392 ops/sec ±0.66% (92 runs sampled)
123
123
124
-
Mutative - Patches and No Freeze x 1,011 ops/sec ±0.24% (98 runs sampled)
125
-
Immer - Patches and No Freeze x 5.64 ops/sec ±0.22% (19 runs sampled)
124
+
Mutative - Patches and No Freeze x 1,006 ops/sec ±1.73% (95 runs sampled)
125
+
Immer - Patches and No Freeze x 5.73 ops/sec ±0.16% (19 runs sampled)
Measure(ops/sec) to update 50K arrays and 1K objects, bigger is better([view source](https://github.com/unadlib/mutative/blob/main/test/performance/benchmark.ts)).[Mutative v1.1.0 vs Immer v10.1.1]
97
+
Measure(ops/sec) to update 50K arrays and 1K objects, bigger is better([view source](https://github.com/unadlib/mutative/blob/main/test/performance/benchmark.ts)).[Mutative v1.3.0 vs Immer v10.1.3]
Copy file name to clipboardExpand all lines: website/docs/extra-topics/comparison-with-immer.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,7 +26,7 @@ Mutative has fewer bugs such as accidental draft escapes than Immer, [view detai
26
26
27
27
>Mutative passed all of Immer's test cases.
28
28
29
-
Measure(ops/sec) to update 50K arrays and 1K objects, bigger is better([view source](https://github.com/unadlib/mutative/blob/main/test/performance/benchmark.ts)).[Mutative v1.1.0 vs Immer v10.1.1]
29
+
Measure(ops/sec) to update 50K arrays and 1K objects, bigger is better([view source](https://github.com/unadlib/mutative/blob/main/test/performance/benchmark.ts)).[Mutative v1.3.0 vs Immer v10.1.3]
Measure(ops/sec) to update 50K arrays and 1K objects, bigger is better([view source](https://github.com/unadlib/mutative/blob/main/test/performance/benchmark.ts)).[Mutative v1.1.0 vs Immer v10.1.1]
85
+
Measure(ops/sec) to update 50K arrays and 1K objects, bigger is better([view source](https://github.com/unadlib/mutative/blob/main/test/performance/benchmark.ts)).[Mutative v1.3.0 vs Immer v10.1.3]