We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dc5290b commit ac05f9dCopy full SHA for ac05f9d
examples/benchmark/normalizr.js
@@ -45,9 +45,6 @@ export default function addNormlizrSuite(suite) {
45
normalize(ProjectSchema, data, [], curState, actionMeta);
46
curState = { ...initialState, entities: {}, endpoints: {} };
47
})
48
- .add('infer All', () => {
49
- return new MemoCache().buildQueryKey(AllProjects, [], queryState);
50
- })
51
.add('denormalizeLong', () => {
52
return new MemoCache().denormalize(ProjectSchema, result, entities);
53
@@ -74,6 +71,12 @@ export default function addNormlizrSuite(suite) {
74
71
memo.query(User, [{ login: 'gnoff' }], githubState);
75
72
}
76
73
+ .add('infer All', () => {
+ return new MemoCache().buildQueryKey(AllProjects, [], queryState);
+ })
77
+ .add('query All withCache', () => {
78
+ return memo.query(AllProjects, [], queryState);
79
80
.add('denormalizeLong with mixin Entity', () => {
81
return new MemoCache().denormalize(ProjectSchemaMixin, result, entities);
82
0 commit comments