python-attrs
attrs
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Improve performance of attr.astuple
#1469
Merged
Comparing
eendebakpt:astuple_atomic_types
(
57ee5cf
) with
main
(
6ef8d73
)
CodSpeed Performance Gauge
×2.7
Improvement
2
Untouched
10
Benchmarks
Mode
CPU Simulation
Wall Time
Memory
Status
Improvement
Untouched
12 total
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_astuple_atomic
bench/test_benchmarks.py
CodSpeed Performance Gauge
×2.7
15.7 ms
5.7 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_astuple_complicated
bench/test_benchmarks.py
CodSpeed Performance Gauge
+49%
13.1 ms
8.8 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_asdict_complicated
bench/test_benchmarks.py
CodSpeed Performance Gauge
+1%
9.5 ms
9.4 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_eq_unequal
bench/test_benchmarks.py
CodSpeed Performance Gauge
0%
673.7 µs
673.4 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_eq_equal
bench/test_benchmarks.py
CodSpeed Performance Gauge
0%
878.3 µs
878 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_instantiate_no_defaults
bench/test_benchmarks.py
CodSpeed Performance Gauge
0%
1.2 ms
1.2 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_instantiate_with_defaults
bench/test_benchmarks.py
CodSpeed Performance Gauge
0%
1.3 ms
1.3 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_hash
bench/test_benchmarks.py
CodSpeed Performance Gauge
0%
1.1 ms
1.1 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_create_frozen_class
bench/test_benchmarks.py
CodSpeed Performance Gauge
0%
1.3 s
1.3 s
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_create_simple_class
bench/test_benchmarks.py
CodSpeed Performance Gauge
0%
1.1 s
1.1 s
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_create_simple_class_make_class
bench/test_benchmarks.py
CodSpeed Performance Gauge
0%
1 s
1 s
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_asdict_atomic
bench/test_benchmarks.py
CodSpeed Performance Gauge
0%
6.3 ms
6.3 ms
Commits
Click on a commit to change the comparison range
Base
main
6ef8d73
×2.7
Improve performance of attr.astuple
c2aa056
5 months ago
by eendebakpt
-0.04%
[pre-commit.ci] auto fixes from pre-commit.com hooks
eb3ced2
5 months ago
by pre-commit-ci[bot]
+0.04%
Add news fragment
57ee5cf
5 months ago
by hynek
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs