BlogDocs

Remove the references from the context after processing them to free up memory(#101)

Merged
Merging
cleanup-references
(
421f633
) into
main
(
8302467
)
-1%
IMPROVEMENTS
0
REGRESSIONS
0
UNTOUCHED
11
NEW
0
DROPPED
0
IGNORED
4

Benchmarks

Passed

instantiating a large root
bench/instantiation.benchmark.ts::instantiating a large root
+1%
3.7 ms
3.7 ms
accessing memoized null property of a class model
bench/property-access.benchmark.ts::accessing memoized null property of a class model
0%
11.5 µs
11.5 µs
accessing memoized getter properties of a class model
bench/property-access.benchmark.ts::accessing memoized getter properties of a class model
0%
14.8 µs
14.8 µs
accessing unmemoized null property of a class model
bench/property-access.benchmark.ts::accessing unmemoized null property of a class model
0%
13.6 µs
13.6 µs
instantiating deep references
bench/create-references.benchmark.ts::instantiating deep references
-1%
115.1 µs
115.7 µs
instantiating a diverse root
bench/instantiation.benchmark.ts::instantiating a diverse root
-1%
73.7 µs
74.3 µs
instantiating a large union
bench/create-union.benchmark.ts::instantiating a large union
-1%
83.4 µs
84.2 µs
instantiating one reference
bench/create-references.benchmark.ts::instantiating one reference
-1%
50.3 µs
50.8 µs
accessing unmemoized getter properties of a class model
bench/property-access.benchmark.ts::accessing unmemoized getter properties of a class model
-1%
19.5 µs
19.7 µs
mobx-quick-tree ClassModel
bench/cross-framework.benchmark.ts::mobx-quick-tree ClassModel
-1%
53.1 µs
53.9 µs
instantiating a small root
bench/instantiation.benchmark.ts::instantiating a small root
-2%
29 µs
29.6 µs

Ignored

mobx-quick-tree types.modelIgnored
bench/cross-framework.benchmark.ts::mobx-quick-tree types.model
+34%
239.8 µs
179.4 µs
mobx-state-treeIgnored
bench/cross-framework.benchmark.ts::mobx-state-tree
-4%
1.8 ms
1.9 ms
plain es6Ignored
bench/cross-framework.benchmark.ts::plain es6
-1%
21.4 µs
21.6 µs
plain mobxIgnored
bench/cross-framework.benchmark.ts::plain mobx
+14%
482.1 µs
423.6 µs

Commits

Click on a commit to change the comparison range
base
main
8302467
-1%
Remove the references from the context after processing them to free up memory
3ff02d0
4 months ago
by airhorns
+1%
Remove the references from the context after processing them to free up memory
421f633
4 months ago
by airhorns
ResourcesHomePricingDocsBlogGitHubChangelog