python-attrs
attrs
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Add benchmarks for cached properties on slotted classes
#1489
Merged
Comparing
cached-property-benchmarks
(
f18d864
) with
main
(
5eb8701
)
CodSpeed Performance Gauge
0%
Untouched
12
New
2
No successful run was found on
main
(
c0111e6
) during the generation of this report, so
5eb8701
was used instead as the comparison base. There might be some changes unrelated to this pull request in this report.
Benchmarks
New
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_repeated_access
bench/test_benchmarks.py::TestCachedProperties
CodSpeed Performance Gauge
N/A
N/A
255 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_first_access
bench/test_benchmarks.py::TestCachedProperties
CodSpeed Performance Gauge
N/A
N/A
6.4 ms
Passed
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_asdict_atomic
bench/test_benchmarks.py
CodSpeed Performance Gauge
+1%
6.3 ms
6.3 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_astuple_complicated
bench/test_benchmarks.py
CodSpeed Performance Gauge
0%
8.8 ms
8.7 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_astuple_atomic
bench/test_benchmarks.py
CodSpeed Performance Gauge
0%
5.7 ms
5.6 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.2 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_asdict_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_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_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_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_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_eq_equal
bench/test_benchmarks.py
CodSpeed Performance Gauge
0%
884 µs
884.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_eq_unequal
bench/test_benchmarks.py
CodSpeed Performance Gauge
0%
676.3 µs
677 µs
Commits
Click on a commit to change the comparison range
Base
main
5eb8701
+0.1%
Add benchmarks for cached properties on slotted classes To have some numbers for #1333.
f18d864
1 month ago
by hynek
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs