python-attrs
attrs
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Defer inspect import to reduce import time by ~25%
#1547
Comparing
KRRT7:perf/defer-inspect-import
(
5660ef3
) with
main
(
0f758fe
)
CodSpeed Performance Gauge
0%
Untouched
15
Benchmarks
Mode
CPU Simulation
Wall Time
Memory
Status
Untouched
15 total
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_asdict_complicated
bench/test_benchmarks.py
CodSpeed Performance Gauge
+1%
10 ms
9.9 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_create_simple_class
bench/test_benchmarks.py
CodSpeed Performance Gauge
+1%
1.3 s
1.2 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.2 s
1.2 s
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_create_frozen_class
bench/test_benchmarks.py
CodSpeed Performance Gauge
0%
1.5 s
1.5 s
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_astuple_complicated
bench/test_benchmarks.py
CodSpeed Performance Gauge
0%
9.4 ms
9.4 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_create_cached_property_class
bench/test_benchmarks.py::TestCachedProperties
CodSpeed Performance Gauge
0%
2 s
2 s
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_astuple_atomic
bench/test_benchmarks.py
CodSpeed Performance Gauge
0%
6 ms
6 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_repeated_access
bench/test_benchmarks.py::TestCachedProperties
CodSpeed Performance Gauge
0%
237.7 µs
237.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_first_access
bench/test_benchmarks.py::TestCachedProperties
CodSpeed Performance Gauge
0%
6.4 ms
6.4 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_instantiate_no_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_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_asdict_atomic
bench/test_benchmarks.py
CodSpeed Performance Gauge
0%
6.5 ms
6.5 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_eq_equal
bench/test_benchmarks.py
CodSpeed Performance Gauge
0%
850.9 µs
854.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_hash
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_eq_unequal
bench/test_benchmarks.py
CodSpeed Performance Gauge
-1%
652.8 µs
656.2 µs
Commits
Click on a commit to change the comparison range
Base
main
0f758fe
+0.06%
[pre-commit.ci] auto fixes from pre-commit.com hooks
5660ef3
3 days ago
by pre-commit-ci[bot]
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs