Skip to content

Commit

Permalink
put immer10each benchmark back
Browse files Browse the repository at this point in the history
  • Loading branch information
rstachof committed Jan 11, 2025
1 parent fc1abf6 commit d59d796
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
3 changes: 3 additions & 0 deletions immutability-benchmarks.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import {produce as produce7, setAutoFreeze as setAutoFreeze7} from "immer7"
import {produce as produce8, setAutoFreeze as setAutoFreeze8} from "immer8"
import {produce as produce9, setAutoFreeze as setAutoFreeze9} from "immer9"
import {produce as produce10, setAutoFreeze as setAutoFreeze10} from "immer10"
import {produce as produce10Each, setAutoFreeze as setAutoFreeze10Each} from "immer10Each"
import {create as produceMutative} from "mutative";
import {produce as produceMutativeCompat, setAutoFreeze as setAutoFreezeMutativeCompat} from "mutative-compat";
import {bench, run, group, summary} from "mitata"
Expand Down Expand Up @@ -62,6 +63,7 @@ const immerProducers = {
// immer8: produce8,
immer9: produce9,
immer10: produce10,
immer10Each: produce10Each,
mutative: produceMutative,
mutativeCompat: produceMutativeCompat
}
Expand All @@ -74,6 +76,7 @@ const setAutoFreezes = {
// immer8: setAutoFreeze8,
immer9: setAutoFreeze9,
immer10: setAutoFreeze10,
immer10Each: setAutoFreeze10Each,
mutative: () => {},
mutativeCompat: setAutoFreezeMutativeCompat
}
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"cross-env": "^7.0.3",
"immer": "^10.1.1",
"immer10": "npm:immer@10",
"immer10Each": "file:.yalc/immer",
"immer5": "npm:immer@5",
"immer6": "npm:immer@6",
"immer7": "npm:immer@7",
Expand Down
8 changes: 8 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit d59d796

Please sign in to comment.