Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

superpmi-diffs pipeline improvements #61483

Open
1 of 2 tasks
BruceForstall opened this issue Nov 11, 2021 · 9 comments
Open
1 of 2 tasks

superpmi-diffs pipeline improvements #61483

BruceForstall opened this issue Nov 11, 2021 · 9 comments
Assignees
Labels
area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI
Milestone

Comments

@BruceForstall
Copy link
Member

BruceForstall commented Nov 11, 2021

This issue tracks a number of improvement ideas for the runtime-coreclr superpmi-diffs AzDO pipeline.

  • JIT asserts (e.g., this example) and other SuperPMI errors (such as Error generating win-x86 SuperPMI asm diffs for libraries.crossgen2 collection #61482) need to be surfaced as errors in the asmdiffs jobs (this is probably already true), and shown prominently in the "Extensions" page that summarizes the diffs. They should probably exist as a prominent section in each summary.md file as well as the overall summary.md files.
  • Currently, SuperPMI MISSING data causes superpmi.py to return a failure error code (of 1), which causes the AzDO asmdiffs job to be marked as "warning" (circle with exclamation point). We should change it to ignore these, at least for the AzDO job.

category:eng-sys
theme:super-pmi
skill-level:intermediate
cost:small
impact:small

@BruceForstall BruceForstall added the area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI label Nov 11, 2021
@BruceForstall BruceForstall added this to the 7.0.0 milestone Nov 11, 2021
@dotnet-issue-labeler dotnet-issue-labeler bot added the untriaged New issue has not been triaged by the area owner label Nov 11, 2021
@ghost
Copy link

ghost commented Nov 11, 2021

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

Issue Details

This issue tracks a number of improvement ideas for the new runtime-coreclr superpmi-asmdiffs AzDO pipeline.

  • JIT asserts (e.g., this example) and other SuperPMI errors (such as Error generating win-x86 SuperPMI asm diffs for libraries.crossgen2 collection #61482) need to be surfaced as errors in the asmdiffs jobs (this is probably already true), and shown prominently in the "Extensions" page that summarizes the diffs. They should probably exist as a prominent section in each summary.md file as well as the overall summary.md files.
  • Currently, SuperPMI MISSING data causes superpmi.py to return a failure error code (of 1), which causes the AzDO asmdiffs job to be marked as "warning" (circle with exclamation point). We should change it to ignore these, at least for the AzDO job.
Author: BruceForstall
Assignees: -
Labels:

area-CodeGen-coreclr

Milestone: 7.0.0

@BruceForstall BruceForstall removed the untriaged New issue has not been triaged by the area owner label Nov 11, 2021
@kunalspathak
Copy link
Member

We should consider uploading back subset of .dasm files as artifacts. It will be useful to have them if someone who sees the diffs and (most likely) want to investigate. Having them handy will avoid trouble of building and producing those dasm files. They can be zipped and uploaded. On my machine, I zipped a folder contined 42K .dasm files comprising of 612 MB, but after zipping they were just 30MB.

One option would be to pass a flag to jit-analyze which after producing the diff.md will delete all but top 20 .dasm files. Then, we can just zip that folder and upload as artifact.

@kunalspathak
Copy link
Member

We should consider uploading back subset of .dasm files as artifacts.

This is done in #61700.

@EgorBo
Copy link
Member

EgorBo commented Jan 31, 2022

@kunalspathak
Copy link
Member

the diffs there were quite big

Is that expected? I just want to make sure that we are picking up the correct baseline jit and do asmdiff only on your changes.

@EgorBo
Copy link
Member

EgorBo commented Jan 31, 2022

the diffs there were quite big

Is that expected? I just want to make sure that we are picking up the correct baseline jit and do asmdiff only on your changes.

Hm.. not sure, didn't expect it, running locally now

@BruceForstall BruceForstall modified the milestones: 7.0.0, 8.0.0 May 24, 2022
@BruceForstall BruceForstall changed the title superpmi-asmdiffs pipeline improvements superpmi-diffs pipeline improvements Oct 15, 2022
@BruceForstall
Copy link
Member Author

Related: #75848, #80718, #80719

@BruceForstall BruceForstall modified the milestones: 8.0.0, Future Jun 16, 2023
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

No branches or pull requests

3 participants