Provide option in attrs.define to allow users to exclude parameters set to default value from repr
#1276
CodSpeed HQ / CodSpeed Performance Analysis
completed
Jul 29, 2024
Performance Regression: -28.49%
Summary
❌ 3
regressions
✅ 5
untouched benchmarks
⚠️ Please fix the performance issues or acknowledge them on CodSpeed.
Benchmarks breakdown
Benchmark | main |
RNKuhns:repr_optionally_exclude_param_defaults |
Change | |
---|---|---|---|---|
❌ | test_create_frozen_class |
1.7 s | 2.3 s | -25.32% |
❌ | test_create_simple_class |
1.5 s | 2.1 s | -28.06% |
❌ | test_create_simple_class_make_class |
1.5 s | 2 s | -28.49% |
Loading