Skip to content

Display values from all iterations for microbenchmarks#5238

Open
VincentBu wants to merge 2 commits into
dotnet:mainfrom
VincentBu:illustrate-all-iterations-for-microbenchmarks
Open

Display values from all iterations for microbenchmarks#5238
VincentBu wants to merge 2 commits into
dotnet:mainfrom
VincentBu:illustrate-all-iterations-for-microbenchmarks

Conversation

@VincentBu

Copy link
Copy Markdown
Contributor

This PR aims at displaying values from all iterations for microbenchmarks.

Copilot AI review requested due to automatic review settings June 10, 2026 09:05

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

Note

Copilot was unable to run its full agentic suite in this review.

Updates microbenchmark markdown output to show per-iteration values (including outlier highlighting) and separates “original” vs “corrective” averages/diffs in comparison results.

Changes:

  • Replace category-level single-table output with per-benchmark tables and “Average/Corrective Average” summary rows.
  • Extend MicrobenchmarkComparisonResult to store original vs outlier-filtered collections and derived diffs/percent diffs.
  • Adjust markdown table headers/rows to include iteration-level values and additional metric columns.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 8 comments.

File Description
src/benchmarks/gc/GC.Infrastructure/GC.Infrastructure.Core/Presentation/Microbenchmarks/Markdown.cs Refactors markdown generation to emit per-benchmark tables + iteration rows and adds summary average rows.
src/benchmarks/gc/GC.Infrastructure/GC.Infrastructure.Core/Analysis/Microbenchmarks/MicrobenchmarkComparisonResult.cs Reworks comparison result model to retain original vs outlier-filtered series and precomputed averages/diffs.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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