Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Fix performance chart ordering#8101

Open
achamayou wants to merge 1 commit into
mainmicrosoft/CCF:mainfrom
achamayou-fix-performance-plot-ordermicrosoft/CCF:achamayou-fix-performance-plot-orderCopy head branch name to clipboard
Open

Fix performance chart ordering#8101
achamayou wants to merge 1 commit into
mainmicrosoft/CCF:mainfrom
achamayou-fix-performance-plot-ordermicrosoft/CCF:achamayou-fix-performance-plot-orderCopy head branch name to clipboard

Conversation

@achamayou

Copy link
Copy Markdown
Member

Summary

  • preserve chronological perf run order when rendering Mermaid charts
  • plot oldest runs on the left and newest runs on the right

Testing

  • rendered a synthetic three-point series and verified label and value ordering
  • python -m py_compile scripts/perf_summary.py
  • python -m black --check scripts/perf_summary.py

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: cedc25ac-9775-4adf-95bf-9e05e849d4ed
Copilot AI review requested due to automatic review settings July 25, 2026 19:18
@achamayou
achamayou requested a review from a team as a code owner July 25, 2026 19:18

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the performance summary rendering so Mermaid xychart history plots preserve chronological ordering (oldest runs on the left, newest on the right), aligning visual trends with the underlying perf run timeline.

Changes:

  • Remove reversal of the benchmark series when rendering Mermaid xycharts so labels/values are plotted in chronological order.
  • Keep EWMA/sigma baselines consistent with the displayed time order.

Custom instructions used

  • .github/copilot-instructions.md
  • .github/instructions/reviewing.instructions.md

Comment thread scripts/perf_summary.py
Comment on lines +213 to 216
raw_values = [value for _, value in series]
values = ", ".join(f"{value:.2f}" for value in raw_values)
chronological_values = [value for _, value in series]
baseline = ewma(chronological_values)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.