Skip to content

SPMI: Allow superpmi.py -details to point to a directory#131260

Merged
jakobbotsch merged 1 commit into
dotnet:mainfrom
jakobbotsch:superpmi-details-directory
Jul 24, 2026
Merged

SPMI: Allow superpmi.py -details to point to a directory#131260
jakobbotsch merged 1 commit into
dotnet:mainfrom
jakobbotsch:superpmi-details-directory

Conversation

@jakobbotsch

Copy link
Copy Markdown
Member

If it does, output a separate details file for every collection.

If it does, output a separate details file for every collection
Copilot AI review requested due to automatic review settings July 23, 2026 13:03
@github-actions github-actions Bot added the area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI label Jul 23, 2026
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 3 pipeline(s).
13 pipeline(s) were filtered out due to trigger conditions.
There may be pipelines that require an authorized user to comment /azp run to run.

@dotnet-policy-service

Copy link
Copy Markdown
Contributor

Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch
See info in area-owners.md if you want to be subscribed.

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

Enables superpmi.py -details to accept a directory path (in addition to a single file path) so replay-style commands can emit a distinct details CSV per replayed collection.

Changes:

  • Updates -details argument help to indicate it can be a file or directory.
  • Adds a get_details_file_path() helper to compute the details CSV path per MCH file.
  • Uses the helper across replay, asm-diffs, throughput-diff, and metric-diff flows to centralize behavior.

Comment thread src/coreclr/scripts/superpmi.py
@jakobbotsch

Copy link
Copy Markdown
Member Author

cc @dotnet/jit-contrib PTAL @AndyAyersMS

@jakobbotsch
jakobbotsch requested a review from AndyAyersMS July 24, 2026 13:58
@jakobbotsch

Copy link
Copy Markdown
Member Author

/ba-g Timeout

@jakobbotsch
jakobbotsch merged commit caeff23 into dotnet:main Jul 24, 2026
107 of 112 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants