Avatar for the gadget-inc user
gadget-inc
mobx-quick-tree
BlogDocsChangelog

Call defineProperties in bulk with list of descriptors for performance

#112Merged
Comparing
faster-self-define
(
91012b7
) with
faster-self-define
(
55289a4
)
CodSpeed Performance Gauge
+34%
Improvements
2
Regressions
0
Untouched
9
New
0
Dropped
0
Ignored
4

Benchmarks

Improved

accessing unmemoized null property of a class model
bench/property-access.benchmark.ts::accessing unmemoized null property of a class model
CodSpeed Performance Gauge
+34%
12.2 µs
9.1 µs
instantiating a large union
bench/create-union.benchmark.ts::instantiating a large union
CodSpeed Performance Gauge
+18%
62.5 µs
52.9 µs

Passed

accessing memoized null property of a class model
bench/property-access.benchmark.ts::accessing memoized null property of a class model
CodSpeed Performance Gauge
+5%
10.1 µs
9.6 µs
instantiating a diverse root
bench/instantiation.benchmark.ts::instantiating a diverse root
CodSpeed Performance Gauge
+4%
57.2 µs
54.8 µs
instantiating a large root
bench/instantiation.benchmark.ts::instantiating a large root
CodSpeed Performance Gauge
+4%
2.6 ms
2.5 ms
accessing unmemoized getter properties of a class model
bench/property-access.benchmark.ts::accessing unmemoized getter properties of a class model
CodSpeed Performance Gauge
+2%
15.4 µs
15 µs
instantiating a small root
bench/instantiation.benchmark.ts::instantiating a small root
CodSpeed Performance Gauge
+1%
21.8 µs
21.6 µ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%
11.4 µs
11.3 µs
mobx-quick-tree ClassModel
bench/cross-framework.benchmark.ts::mobx-quick-tree ClassModel
CodSpeed Performance Gauge
0%
41.4 µs
41.3 µs
instantiating one reference
bench/create-references.benchmark.ts::instantiating one reference
CodSpeed Performance Gauge
0%
40.1 µs
40 µs
instantiating deep references
bench/create-references.benchmark.ts::instantiating deep references
CodSpeed Performance Gauge
0%
90.7 µs
91.1 µs

Ignored

mobx-quick-tree types.modelIgnored
bench/cross-framework.benchmark.ts::mobx-quick-tree types.model
CodSpeed Performance Gauge
0%
154.5 µs
154.5 µs
mobx-state-treeIgnored
bench/cross-framework.benchmark.ts::mobx-state-tree
CodSpeed Performance Gauge
-2%
1.5 ms
1.5 ms
plain es6Ignored
bench/cross-framework.benchmark.ts::plain es6
CodSpeed Performance Gauge
+1%
16.1 µs
15.9 µs
plain mobxIgnored
bench/cross-framework.benchmark.ts::plain mobx
CodSpeed Performance Gauge
-1%
283.4 µs
286.4 µs

Commits

Click on a commit to change the comparison range
Base
faster-self-define
55289a4
-1%
Upgrade codspeed github action for newer runner support
55289a4
2 months ago
by airhorns
+35%
Upgrade codspeed github action for newer runner support
91012b7
2 months ago
by airhorns
© 2025 CodSpeed Technology
Home Terms PrivacyDocs