UPSTREAM PR #2473: remove the prodash feature#35
Conversation
As that feature is just from an optional dependency, I think a consumer of this crate should use the progress-tree feature
OverviewAnalysis of 29,750 functions across two binaries shows mixed performance results. Modified: 1,304 functions (4.4%), New: 3,391, Removed: 3,380, Unchanged: 21,675. Binaries analyzed:
Power consumption improved slightly in both binaries despite localized performance variations. Function AnalysisCritical regressions:
Improvements:
External dependency regressions: CLI parsing functions (clap_lex, clap_builder, sharded_slab) show +1,000% to +3,700% regressions but affect only startup/error paths with negligible practical impact. Flame Graph ComparisonThe Base version: Target version: Target version introduces extensive new operations (Unicode normalization, sorting, comparison logic) not present in base, transforming simple URL rewriting into complex path processing workflow. Additional FindingsSource code context: Single commit (90cc5be) modified only Cargo.toml feature flags (prodash hygiene improvement), with zero runtime code changes. Performance variations stem from compiler optimization differences or transitive dependency updates not visible in the repository diff. Critical path assessment: Regressions in index loading (+1.41ms), revision parsing (+11.27ms), and URL rewriting (+2.82ms) affect performance-critical Git operations. Pack cache regression (+21ns per call) compounds across thousands of lookups. However, overall power consumption improvements (-0.09% to -0.15%) suggest optimizations in high-frequency paths offset localized regressions. 🔎 Full breakdown: Loci Inspector |
95ef755 to
a9e7940
Compare
8b02847 to
1bf0519
Compare
cdbe120 to
78a7ab5
Compare
49231d8 to
bc0a777
Compare
e902b63 to
c6739bc
Compare


Note
Source pull request: GitoxideLabs/gitoxide#2473
As that feature is just from an optional dependency, I think a consumer of this crate should use the progress-tree feature?
from: https://salsa.debian.org/rust-team/debcargo-conf/-/blob/master/src/gix/debian/patches/reduce-features.patch?ref_type=heads#L26
author: @Fabian-Gruenbichler