Avatar for the python-attrs user
python-attrs
cattrs
BlogDocsChangelog

Support `annotationlib.ForwardRef`

#741Merged
Comparing
tin/more-649-support
(
235a019
) with
main
(
ec6f824
)
CodSpeed Performance Gauge
-2%
Untouched
64

Benchmarks

64 total
test_unstructure_attrs_nested[UnstructureStrategy.AS_TUPLE-Converter]
bench/test_attrs_nested.py
CodSpeed Performance Gauge
-5%
56.9 µs60.2 µs
test_unstruct_attrs_deep_nest[UnstructureStrategy.AS_TUPLE-Converter]
bench/test_attrs_nested.py
CodSpeed Performance Gauge
-5%
5.5 ms5.8 ms
test_unstructure_simple_enum[Converter]
bench/test_enums.py
CodSpeed Performance Gauge
-5%
19.1 µs20 µs
test_unstruct_attrs_deep_nest[UnstructureStrategy.AS_TUPLE-BaseConverter]
bench/test_attrs_nested.py
CodSpeed Performance Gauge
-4%
5.5 ms5.8 ms
test_unstructure_attrs_nested[UnstructureStrategy.AS_TUPLE-BaseConverter]
bench/test_attrs_nested.py
CodSpeed Performance Gauge
-3%
58 µs59.9 µs
test_unstructure_simple_int_enum[BaseConverter]
bench/test_enums.py
CodSpeed Performance Gauge
-3%
20.5 µs21.1 µs
test_structure_hetero_tuple[False-Converter]
bench/test_tuples.py
CodSpeed Performance Gauge
-3%
40 µs41.2 µs
test_structure_attrs_mappings[Converter]
bench/test_attrs_collections.py
CodSpeed Performance Gauge
-3%
159.9 µs164.7 µs
test_unstruct_attrs_deep_nest[UnstructureStrategy.AS_DICT-BaseConverter]
bench/test_attrs_nested.py
CodSpeed Performance Gauge
-3%
5.6 ms5.8 ms
test_unstructure_attrs_mappings[UnstructureStrategy.AS_TUPLE-Converter]
bench/test_attrs_collections.py
CodSpeed Performance Gauge
-3%
202.1 µs207.9 µs
test_unstructure_attrs_lists[UnstructureStrategy.AS_TUPLE-Converter]
bench/test_attrs_collections.py
CodSpeed Performance Gauge
-3%
148.4 µs152.3 µs
test_structure_hetero_tuple[False-BaseConverter]
bench/test_tuples.py
CodSpeed Performance Gauge
-2%
40.7 µs41.7 µs
test_structure_attrs_primitives[UnstructureStrategy.AS_TUPLE-BaseConverter]
bench/test_attrs_primitives.py
CodSpeed Performance Gauge
-2%
87.5 µs89.6 µs
test_unstructure_attrs_lists[UnstructureStrategy.AS_DICT-Converter]
bench/test_attrs_collections.py
CodSpeed Performance Gauge
-2%
88.6 µs90.7 µs
test_unstructure_attrs_mappings[UnstructureStrategy.AS_TUPLE-BaseConverter]
bench/test_attrs_collections.py
CodSpeed Performance Gauge
-2%
246.3 µs252 µs
test_unstructure_attrs_lists[UnstructureStrategy.AS_DICT-BaseConverter]
bench/test_attrs_collections.py
CodSpeed Performance Gauge
-2%
215.4 µs220.5 µs
test_structure_attrs_mappings[BaseConverter]
bench/test_attrs_collections.py
CodSpeed Performance Gauge
-2%
264.7 µs270.8 µs
test_structure_attrs_primitives[UnstructureStrategy.AS_TUPLE-Converter]
bench/test_attrs_primitives.py
CodSpeed Performance Gauge
-2%
94.2 µs96.3 µs
test_structure_hetero_tuple[True-BaseConverter]
bench/test_tuples.py
CodSpeed Performance Gauge
-2%
46.4 µs47.5 µs
test_structure_hetero_tuple[True-Converter]
bench/test_tuples.py
CodSpeed Performance Gauge
-2%
42.5 µs43.3 µs
test_unstructure_attrs_lists[UnstructureStrategy.AS_TUPLE-BaseConverter]
bench/test_attrs_collections.py
CodSpeed Performance Gauge
-2%
206.9 µs211.1 µs
test_structure_simple_str_enum[OrjsonConverter]
bench/test_enums.py
CodSpeed Performance Gauge
-2%
22 µs22.5 µs
test_structure_homo_tuple[True-BaseConverter]
bench/test_tuples.py
CodSpeed Performance Gauge
-2%
36 µs36.7 µs
test_structure_homo_tuple[False-BaseConverter]
bench/test_tuples.py
CodSpeed Performance Gauge
-2%
38.3 µs39 µs
test_unstructure_attrs_primitives[UnstructureStrategy.AS_DICT-BaseConverter]
bench/test_attrs_primitives.py
CodSpeed Performance Gauge
-2%
64.8 µs66 µs

Commits

Click on a commit to change the comparison range
Base
main
ec6f824
-1.6%
Docs
235a019
3 months ago
by Tinche
© 2026 CodSpeed Technology
Home Terms Privacy Docs