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
Merged
Comparing
empty-array-opt
(
83639d5
) with
main
(
ac90059
)
CodSpeed Performance Gauge
0%
Untouched
12
Ignored
4
Benchmarks
Mode
CPU Simulation
Wall Time
Memory
Status
Untouched
Ignored
16 total
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
instantiating a small root
bench/instantiation.benchmark.ts
CodSpeed Performance Gauge
+2%
29.2 µs
28.5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
accessing unmemoized getter properties of a class model
bench/property-access.benchmark.ts
CodSpeed Performance Gauge
+1%
16.1 µs
15.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
accessing unmemoized null property of a class model
bench/property-access.benchmark.ts
CodSpeed Performance Gauge
+1%
11 µs
10.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
accessing memoized null property of a class model
bench/property-access.benchmark.ts
CodSpeed Performance Gauge
0%
10.4 µs
10.3 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
accessing memoized getter properties of a class model
bench/property-access.benchmark.ts
CodSpeed Performance Gauge
0%
10.8 µs
10.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
mobx-quick-tree ClassModel
bench/cross-framework.benchmark.ts
CodSpeed Performance Gauge
0%
37.9 µs
37.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
instantiating one reference
bench/create-references.benchmark.ts
CodSpeed Performance Gauge
0%
35 µs
35 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
instantiating a diverse root
bench/instantiation.benchmark.ts
CodSpeed Performance Gauge
0%
44 µs
44 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
instantiating deep references
bench/create-references.benchmark.ts
CodSpeed Performance Gauge
0%
79.1 µs
79.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
mobx-state-tree ClassModel
bench/cross-framework.benchmark.ts
CodSpeed Performance Gauge
-1%
1.1 ms
1.1 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
instantiating a large union
bench/create-union.benchmark.ts
CodSpeed Performance Gauge
-1%
56.5 µs
56.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
instantiating a large root
bench/instantiation.benchmark.ts
CodSpeed Performance Gauge
-8%
2.5 ms
2.7 ms
The benchmarks below are ignored and won't be included in regression detection.
Learn more about ignoring benchmarks
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
mobx-quick-tree types.model
bench/cross-framework.benchmark.ts
Ignored
CodSpeed Performance Gauge
-3%
149.6 µs
153.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
mobx-state-tree
bench/cross-framework.benchmark.ts
Ignored
CodSpeed Performance Gauge
0%
1.1 ms
1.1 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
plain es6
bench/cross-framework.benchmark.ts
Ignored
CodSpeed Performance Gauge
-1%
16.8 µs
16.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
plain mobx
bench/cross-framework.benchmark.ts
Ignored
CodSpeed Performance Gauge
-3%
262.6 µs
271.5 µs
Commits
Click on a commit to change the comparison range
Base
main
ac90059
-0.45%
Don't spread/allocate empty arrays when fast instantiating
83639d5
10 months ago
by airhorns
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs