python-attrs
cattrs
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Add support for Collection[X] | Y (for some collection types)
#745
Comparing
jhominal:dispatch-single-collection
(
feb2f5b
) with
main
(
087e1ce
)
CodSpeed Performance Gauge
0%
Untouched
64
No successful run was found on
main
(
290d681
) during the generation of this report, so
087e1ce
was used instead as the comparison base. There might be some changes unrelated to this pull request in this report.
Benchmarks
Mode
CPU Simulation
Wall Time
Memory
Status
Untouched
64 total
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_unstructure_simple_int_enum[MsgspecJsonConverter]
bench/test_enums.py
CodSpeed Performance Gauge
+2%
19.7 µs
19.3 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_unstructure_simple_enum[Converter]
bench/test_enums.py
CodSpeed Performance Gauge
+2%
19.4 µs
19 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_unstructure_simple_int_enum[BaseConverter]
bench/test_enums.py
CodSpeed Performance Gauge
+2%
20.9 µs
20.5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_unstructure_attrs_nested[UnstructureStrategy.AS_DICT-Converter]
bench/test_attrs_nested.py
CodSpeed Performance Gauge
+2%
33.3 µs
32.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_unstructure_simple_int_enum[Converter]
bench/test_enums.py
CodSpeed Performance Gauge
+2%
19.9 µs
19.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_unstructure_simple_int_enum[OrjsonConverter]
bench/test_enums.py
CodSpeed Performance Gauge
+2%
19.7 µs
19.4 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_unstructure_attrs_nested[UnstructureStrategy.AS_TUPLE-BaseConverter]
bench/test_attrs_nested.py
CodSpeed Performance Gauge
+2%
60.1 µs
59.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_unstructure_attrs_nested[UnstructureStrategy.AS_TUPLE-Converter]
bench/test_attrs_nested.py
CodSpeed Performance Gauge
+1%
59.3 µs
58.5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_unstructure_simple_enum[MsgspecJsonConverter]
bench/test_enums.py
CodSpeed Performance Gauge
+1%
19.4 µs
19.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_structure_homo_tuple[False-Converter]
bench/test_tuples.py
CodSpeed Performance Gauge
+1%
39.1 µs
38.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_unstructure_simple_enum[OrjsonConverter]
bench/test_enums.py
CodSpeed Performance Gauge
+1%
19.3 µs
19.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_structure_hetero_tuple[False-BaseConverter]
bench/test_tuples.py
CodSpeed Performance Gauge
+1%
41.8 µs
41.4 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_unstructure_simple_enum[BaseConverter]
bench/test_enums.py
CodSpeed Performance Gauge
+1%
20.6 µs
20.4 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_structure_homo_tuple[True-BaseConverter]
bench/test_tuples.py
CodSpeed Performance Gauge
+1%
36.7 µs
36.4 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_structure_hetero_tuple[False-Converter]
bench/test_tuples.py
CodSpeed Performance Gauge
+1%
41.3 µs
40.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_structure_homo_tuple[False-BaseConverter]
bench/test_tuples.py
CodSpeed Performance Gauge
+1%
39.2 µs
38.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_structure_hetero_tuple[True-Converter]
bench/test_tuples.py
CodSpeed Performance Gauge
+1%
43.5 µs
43.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_unstructure_attrs_primitives[UnstructureStrategy.AS_DICT-Converter]
bench/test_attrs_primitives.py
CodSpeed Performance Gauge
+1%
44.7 µs
44.4 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_structure_attrs_primitives[UnstructureStrategy.AS_TUPLE-Converter]
bench/test_attrs_primitives.py
CodSpeed Performance Gauge
+1%
96.6 µs
96 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_unstructure_attrs_mappings[UnstructureStrategy.AS_TUPLE-Converter]
bench/test_attrs_collections.py
CodSpeed Performance Gauge
0%
208 µs
207.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_structure_hetero_tuple[True-BaseConverter]
bench/test_tuples.py
CodSpeed Performance Gauge
0%
47.6 µs
47.4 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_structure_homo_tuple[True-Converter]
bench/test_tuples.py
CodSpeed Performance Gauge
0%
35.4 µs
35.3 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_unstructure_float[Converter]
bench/test_primitives.py
CodSpeed Performance Gauge
0%
16.2 µs
16.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_unstructure_int[Converter]
bench/test_primitives.py
CodSpeed Performance Gauge
0%
16.1 µs
16.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_unstructure_attrs_lists[UnstructureStrategy.AS_DICT-BaseConverter]
bench/test_attrs_collections.py
CodSpeed Performance Gauge
0%
220.7 µs
220.7 µs
1
2
3
Commits
Click on a commit to change the comparison range
Base
main
087e1ce
-0.13%
Add `configure_union_single_collection_dispatch` as a union strategy
feb2f5b
12 days ago
by jhominal
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs