python-attrs
cattrs
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Support overrides in annotated attributes
#717
Merged
Comparing
tin/overrides-in-annotated
(
f2b7c79
) with
main
(
309e9d1
)
CodSpeed Performance Gauge
+1%
Untouched
54
Benchmarks
Mode
CPU Simulation
Wall Time
Memory
Status
Untouched
54 total
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
+4%
32.2 µs
30.9 µ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
+2%
44.8 µs
44.1 µ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.1 µs
18.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_unstructure_simple_int_enum[Converter]
bench/test_enums.py
CodSpeed Performance Gauge
+1%
19.5 µs
19.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_unstructure_attrs_primitives[UnstructureStrategy.AS_TUPLE-BaseConverter]
bench/test_attrs_primitives.py
CodSpeed Performance Gauge
+1%
67 µs
66.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_structure_simple_int_enum[Converter]
bench/test_enums.py
CodSpeed Performance Gauge
+1%
22 µs
21.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_unstructure_attrs_primitives[UnstructureStrategy.AS_TUPLE-Converter]
bench/test_attrs_primitives.py
CodSpeed Performance Gauge
+1%
66.9 µs
66.1 µ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 µs
18.8 µ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.1 µs
18.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_structure_simple_enum[OrjsonConverter]
bench/test_enums.py
CodSpeed Performance Gauge
+1%
22.1 µs
21.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_structure_simple_int_enum[OrjsonConverter]
bench/test_enums.py
CodSpeed Performance Gauge
+1%
22.1 µs
21.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_structure_simple_str_enum[MsgspecJsonConverter]
bench/test_enums.py
CodSpeed Performance Gauge
+1%
22 µs
21.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_unstructure_simple_int_enum[MsgspecJsonConverter]
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_unstructure_attrs_nested[UnstructureStrategy.AS_TUPLE-Converter]
bench/test_attrs_nested.py
CodSpeed Performance Gauge
+1%
57.6 µs
57 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_structure_simple_enum[MsgspecJsonConverter]
bench/test_enums.py
CodSpeed Performance Gauge
+1%
22.1 µs
21.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_structure_simple_str_enum[OrjsonConverter]
bench/test_enums.py
CodSpeed Performance Gauge
+1%
22 µs
21.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_structure_simple_enum[Converter]
bench/test_enums.py
CodSpeed Performance Gauge
+1%
22 µs
21.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_structure_simple_str_enum[Converter]
bench/test_enums.py
CodSpeed Performance Gauge
+1%
22 µs
21.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_unstructure_simple_str_enum[Converter]
bench/test_enums.py
CodSpeed Performance Gauge
+1%
15.7 µs
15.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_unstructure_simple_str_enum[OrjsonConverter]
bench/test_enums.py
CodSpeed Performance Gauge
+1%
15.8 µs
15.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_unstructure_attrs_lists[UnstructureStrategy.AS_TUPLE-Converter]
bench/test_attrs_collections.py
CodSpeed Performance Gauge
+1%
148.7 µs
147.3 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_unstructure_attrs_primitives[UnstructureStrategy.AS_DICT-BaseConverter]
bench/test_attrs_primitives.py
CodSpeed Performance Gauge
+1%
65.5 µs
65 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_structure_attrs_primitives[UnstructureStrategy.AS_TUPLE-BaseConverter]
bench/test_attrs_primitives.py
CodSpeed Performance Gauge
+1%
87.7 µs
87 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_unstructure_int[Converter]
bench/test_primitives.py
CodSpeed Performance Gauge
+1%
15.8 µs
15.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_unstructure_simple_str_enum[MsgspecJsonConverter]
bench/test_enums.py
CodSpeed Performance Gauge
+1%
15.8 µs
15.7 µs
1
2
3
Commits
Click on a commit to change the comparison range
Base
main
309e9d1
-0.37%
Support overrides in annotated attributes
57757d7
7 days ago
by Tinche
+0.12%
Tests for overrides
cc33615
6 days ago
by Tinche
-18.57%
More tests
fe4b027
6 days ago
by Tinche
+18.92%
Fix import
cdc534d
6 days ago
by Tinche
-0.13%
Fix coverage
1536601
6 days ago
by Tinche
+0.02%
Fix
ad643c7
5 days ago
by Tinche
+0.48%
Docs
6e71cab
3 days ago
by Tinche
+0.09%
Update docs/customizing.md
f2b7c79
18 hours ago
by Tinche
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs