python-attrs
cattrs
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Introduce benchmarks for tuples
#735
Merged
Comparing
tin/tuple-benchmarks
(
483ac28
) with
main
(
7d18f81
)
CodSpeed Performance Gauge
0%
Untouched
54
New
10
No successful run was found on
main
(
5ea5dd3
) during the generation of this report, so
7d18f81
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
New
Untouched
64 total
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_unstructure_hetero_tuple[Converter]
bench/test_tuples.py
CodSpeed Performance Gauge
N/A
N/A
17.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
N/A
N/A
46.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
N/A
N/A
34.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_structure_hetero_tuple[False-BaseConverter]
bench/test_tuples.py
CodSpeed Performance Gauge
N/A
N/A
40.5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_structure_homo_tuple[False-Converter]
bench/test_tuples.py
CodSpeed Performance Gauge
N/A
N/A
38.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_structure_homo_tuple[False-BaseConverter]
bench/test_tuples.py
CodSpeed Performance Gauge
N/A
N/A
38.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
N/A
N/A
40 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_structure_homo_tuple[True-BaseConverter]
bench/test_tuples.py
CodSpeed Performance Gauge
N/A
N/A
36 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_unstructure_hetero_tuple[BaseConverter]
bench/test_tuples.py
CodSpeed Performance Gauge
N/A
N/A
14.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_structure_hetero_tuple[True-Converter]
bench/test_tuples.py
CodSpeed Performance Gauge
N/A
N/A
42.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_unstruct_attrs_deep_nest[UnstructureStrategy.AS_TUPLE-BaseConverter]
bench/test_attrs_nested.py
CodSpeed Performance Gauge
+2%
5.7 ms
5.5 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_unstruct_attrs_deep_nest[UnstructureStrategy.AS_TUPLE-Converter]
bench/test_attrs_nested.py
CodSpeed Performance Gauge
+2%
5.6 ms
5.5 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_structure_attrs_mappings[BaseConverter]
bench/test_attrs_collections.py
CodSpeed Performance Gauge
+2%
268.5 µs
263.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_unstructure_simple_enum[MsgspecJsonConverter]
bench/test_enums.py
CodSpeed Performance Gauge
+2%
19.4 µs
19.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_unstructure_attrs_mappings[UnstructureStrategy.AS_DICT-BaseConverter]
bench/test_attrs_collections.py
CodSpeed Performance Gauge
+2%
252.2 µs
248.4 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_unstructure_attrs_mappings[UnstructureStrategy.AS_TUPLE-BaseConverter]
bench/test_attrs_collections.py
CodSpeed Performance Gauge
+1%
248.3 µs
245 µ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.8 µs
19.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_unstruct_attrs_deep_nest[UnstructureStrategy.AS_DICT-BaseConverter]
bench/test_attrs_nested.py
CodSpeed Performance Gauge
+1%
5.7 ms
5.6 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_unstructure_simple_int_enum[OrjsonConverter]
bench/test_enums.py
CodSpeed Performance Gauge
+1%
19.5 µ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
+1%
19.3 µs
19.1 µ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.6 µs
19.4 µ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.7 µs
66.1 µ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%
66.6 µs
66 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_structure_attrs_primitives[UnstructureStrategy.AS_DICT-Converter]
bench/test_attrs_primitives.py
CodSpeed Performance Gauge
+1%
58.3 µs
57.7 µ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
64.9 µs
1
2
3
Commits
Click on a commit to change the comparison range
Base
main
7d18f81
+0.24%
Introduce benchmarks for tuples
483ac28
8 days ago
by Tinche
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs