Add support for multiple loss functions in AADForest #267
+143
−46
CodSpeed HQ / CodSpeed Performance Analysis
succeeded
Aug 6, 2025 in 0s
Performance Gate Passed
🎉 Hooray! pytest-codspeed just leveled up to 4.0.0!
A heads-up, this is a breaking change and it might affect your current performance baseline a bit. But here's the exciting part - it's packed with new, cool features and promises improved result stability 🥳!
Curious about what's new? Visit our releases page to delve into all the awesome details about this new version.
Summary
⚡ 46 improvements
✅ 5 untouched benchmarks
Benchmarks breakdown
| Benchmark | BASE |
HEAD |
Change | |
|---|---|---|---|---|
| ⚡ | test_benchmark_fit_known |
266.8 ms | 205.6 ms | +29.71% |
| ⚡ | test_benchmark_loss_gradient[1024-1024] |
4.4 ms | 3.9 ms | +13.9% |
| ⚡ | test_benchmark_loss_gradient[1024-65536] |
4.4 ms | 3.9 ms | +13.86% |
| ⚡ | test_benchmark_feature_signature[128] |
555.7 µs | 409.3 µs | +35.77% |
| ⚡ | test_benchmark_feature_signature[2] |
563.4 µs | 414.4 µs | +35.95% |
| ⚡ | test_benchmark_fit_sklearn[1024] |
5.3 s | 4.5 s | +17.54% |
| ⚡ | test_benchmark_fit_sklearn[128] |
668.1 ms | 568.7 ms | +17.47% |
| ⚡ | test_benchmark_score[1024] |
8.5 ms | 7 ms | +22.05% |
| ⚡ | test_benchmark_score[1048576] |
8.4 s | 6.9 s | +21.15% |
| ⚡ | test_benchmark_score_samples[1-128-1024] |
9.8 ms | 8.3 ms | +18.46% |
| ⚡ | test_benchmark_score_samples[1-128-1048576] |
9.7 s | 8.3 s | +17.45% |
| ⚡ | test_benchmark_score_samples[1-128-1] |
264.8 µs | 125.2 µs | ×2.1 |
| ⚡ | test_benchmark_score_samples[1-128-32] |
614.1 µs | 456 µs | +34.69% |
| ⚡ | test_benchmark_score_samples[1-256-1024] |
18 ms | 15 ms | +19.89% |
| ⚡ | test_benchmark_score_samples[1-256-1048576] |
17.9 s | 15 s | +19.56% |
| ⚡ | test_benchmark_score_samples[1-256-1] |
276.2 µs | 157.6 µs | +75.23% |
| ⚡ | test_benchmark_score_samples[1-256-32] |
978.7 µs | 771.3 µs | +26.89% |
| ⚡ | test_benchmark_score_samples[1-64-1024] |
5.6 ms | 4.8 ms | +17.77% |
| ⚡ | test_benchmark_score_samples[1-64-1048576] |
5.5 s | 4.7 s | +15.69% |
| ⚡ | test_benchmark_score_samples[1-64-1] |
223.6 µs | 109.2 µs | ×2 |
| ... | ... | ... | ... | ... |
ℹ️ Only the first 20 benchmarks are displayed. Go to the app to view all benchmarks.
Loading