gadget-inc
mobx-quick-tree
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Don't spread/allocate empty arrays when fast instantiating
#127
Comparing
empty-array-opt
(
5fc418f
) with
main
(
404577f
)
CodSpeed Performance Gauge
-78%
Improvements
0
Regressions
1
Untouched
11
New
0
Dropped
0
Ignored
4
Benchmarks
Failed
instantiating deep references
Regression
bench/create-references.benchmark.ts::instantiating deep references
CodSpeed Performance Gauge
-78%
78.8 µs
366.5 µs
Passed
instantiating a small root
bench/instantiation.benchmark.ts::instantiating a small root
CodSpeed Performance Gauge
+2%
29 µs
28.4 µs
accessing unmemoized null property of a class model
bench/property-access.benchmark.ts::accessing unmemoized null property of a class model
CodSpeed Performance Gauge
+1%
11 µs
10.9 µs
accessing unmemoized getter properties of a class model
bench/property-access.benchmark.ts::accessing unmemoized getter properties of a class model
CodSpeed Performance Gauge
+1%
16.1 µs
16 µs
accessing memoized getter properties of a class model
bench/property-access.benchmark.ts::accessing memoized getter properties of a class model
CodSpeed Performance Gauge
+1%
10.8 µs
10.7 µs
mobx-state-tree ClassModel
bench/cross-framework.benchmark.ts::mobx-state-tree ClassModel
CodSpeed Performance Gauge
0%
1.1 ms
1.1 ms
instantiating one reference
bench/create-references.benchmark.ts::instantiating one reference
CodSpeed Performance Gauge
0%
35 µs
35.1 µs
instantiating a large union
bench/create-union.benchmark.ts::instantiating a large union
CodSpeed Performance Gauge
0%
56.8 µs
56.9 µs
accessing memoized null property of a class model
bench/property-access.benchmark.ts::accessing memoized null property of a class model
CodSpeed Performance Gauge
0%
10.4 µs
10.4 µs
instantiating a diverse root
bench/instantiation.benchmark.ts::instantiating a diverse root
CodSpeed Performance Gauge
-2%
43.8 µs
44.5 µs
mobx-quick-tree ClassModel
bench/cross-framework.benchmark.ts::mobx-quick-tree ClassModel
CodSpeed Performance Gauge
-2%
37.8 µs
38.5 µs
instantiating a large root
bench/instantiation.benchmark.ts::instantiating a large root
CodSpeed Performance Gauge
-4%
2.6 ms
2.7 ms
Ignored
mobx-quick-tree types.model
Ignored
bench/cross-framework.benchmark.ts::mobx-quick-tree types.model
CodSpeed Performance Gauge
0%
150 µs
149.8 µs
mobx-state-tree
Ignored
bench/cross-framework.benchmark.ts::mobx-state-tree
CodSpeed Performance Gauge
0%
1.1 ms
1.1 ms
plain es6
Ignored
bench/cross-framework.benchmark.ts::plain es6
CodSpeed Performance Gauge
0%
16.9 µs
17 µs
plain mobx
Ignored
bench/cross-framework.benchmark.ts::plain mobx
CodSpeed Performance Gauge
-1%
263.5 µs
266.5 µs
Commits
Click on a commit to change the comparison range
Base
main
404577f
-78%
Don't spread/allocate empty arrays when fast instantiating
5fc418f
1 day ago
by airhorns
© 2025 CodSpeed Technology
Home
Terms
Privacy
Docs