Skip to content

perf: surface optimization overhead diagnostics#1212

Open
akothari-godaddy wants to merge 1 commit into
chopratejas:mainfrom
akothari-godaddy:ak/perf-overhead-diagnostics
Open

perf: surface optimization overhead diagnostics#1212
akothari-godaddy wants to merge 1 commit into
chopratejas:mainfrom
akothari-godaddy:ak/perf-overhead-diagnostics

Conversation

@akothari-godaddy

Copy link
Copy Markdown

Summary

  • add overhead diagnostics to perf JSON output
  • report optimization p50/p95/p99, slow request percentage, per-stage totals/percentiles, and top slow requests
  • update text report and recommendations to point at the slowest stage and HEADROOM_COMPRESSION_TIMEOUT_SECONDS when optimization is consistently slow

Verification

  • python -m py_compile headroom/perf/analyzer.py tests/test_cli_perf_format.py
  • pytest tests/test_cli_perf_format.py could not run locally because pytest is not installed in this Python environment

@github-actions

Copy link
Copy Markdown
Contributor

PR governance

This PR does not yet satisfy the required template fields:

  • Missing required section Description.
  • Missing required section Type of Change.
  • Missing required section Changes Made.
  • Missing required section Testing.
  • Missing required section Real Behavior Proof.
  • Missing required section Review Readiness.
  • Check I have performed a self-review before requesting human review.
  • Check This PR is ready for human review or convert the PR back to draft.

Please update the PR body, or move the PR back to draft while it is still in progress.

@github-actions github-actions Bot added the status: needs author action Pull request body or readiness checklist still needs author updates label Jun 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

status: needs author action Pull request body or readiness checklist still needs author updates

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant