Replace cached_property on slotted classes with a new descriptor instead of writing __getattr__
#1488
+220
−55
CodSpeed HQ / CodSpeed Performance Analysis
completed
Mar 14, 2026
Performance Regression: -75.19%
⚡ 1 improved benchmark
❌ 1 regressed benchmark
✅ 13 untouched benchmarks
⚠️ Please fix the performance issues or acknowledge them on CodSpeed.
Performance Changes
| Benchmark | BASE |
HEAD |
Efficiency | |
|---|---|---|---|---|
| ⚡ | test_create_cached_property_class |
2 s | 1.3 s | +55.73% |
| ❌ | test_repeated_access |
237.4 µs | 956.7 µs | -75.19% |
Comparing DavidCEllis:descriptor-cached-property (e015513) with main (21a1028)1
Footnotes
Loading