perf: improve degree codepath performance to use backend shortcuts#66
Merged
CodSpeed HQ / CodSpeed Performance Analysis
succeeded
Mar 20, 2026 in 0s
Performance Gate Passed
🎉 Hooray! pytest-codspeed just leveled up to 4.3.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.
⚡ 3 improved benchmarks
✅ 1 untouched benchmark
Performance Changes
| Benchmark | BASE |
HEAD |
Efficiency | |
|---|---|---|---|---|
| ⚡ | test_get_density_performance[DataFrameBackend] |
2.2 s | 1.6 s | +32.37% |
| ⚡ | test_get_density_performance[SQLBackend] |
837.8 ms | 654.6 ms | +27.99% |
| ⚡ | test_node_addition_performance[DataFrameBackend] |
839.7 ms | 679.7 ms | +23.53% |
Comparing perf-sqlbackend-degree (01422f0) with master (ce81535)
Loading