Problem
No performance baselines exist. SDK modifications may introduce regressions (slower parsing, allocations). No automated detection of performance degradation.
Solution
Create benchmark suite using vitest's bench API. Measure: XDR parsing, fee calculation, account fetch overhead, contract simulation. Set baseline thresholds. Flag regressions in CI.
Acceptance Criteria
Note for contributors
Use vitest bench or hyperfine. Run on consistent hardware. Document baseline and acceptable regression threshold.
Problem
No performance baselines exist. SDK modifications may introduce regressions (slower parsing, allocations). No automated detection of performance degradation.
Solution
Create benchmark suite using vitest's bench API. Measure: XDR parsing, fee calculation, account fetch overhead, contract simulation. Set baseline thresholds. Flag regressions in CI.
Acceptance Criteria
Note for contributors
Use vitest bench or hyperfine. Run on consistent hardware. Document baseline and acceptable regression threshold.