Skip to content

Conversation

davidwrighton
Copy link
Member

In order to upgrade the RuntimeList.xml file schema for building the RuntimeList.xml in the runtime repo, we must update the SDK to be able to consume them. (The SDK update must happen before the runtime repo can generate the new data as the runtime repo has a testbed which depends on the LKG of the SDK to be able to process existing files.)

Pgo Mibc file consumption from within a RuntimeList.xml file is necessary to enable end customers to take advantage our our static pgo system when producing trimmed, R2R'd published self-contained applications, or self-contained R2R composite images.

Customer Impact

By adding this work to Preview5, we will be able to expose static pgo data to consumers in long-term serviceable manner in Preview7. In addition, this will enable customers in Preview5 to use their own locally generated static pgo data. However, as we do not intend to advertise that feature in Preview5, it is not expected that customers will see any impact.

Testing

Local ad-hoc testing of runtime repo.

Risk

Minimal. No new logic will activate until the runtime produces a RuntimeList.xml with the new content.

- A new ItemList (PublishReadyToRunPgoFiles) can be used to specify a custom list of Mibc files
- Any Mibc files defined in associated RuntimePacks via a RuntimeAsset with AssetType PgoData will also be included
This behavior can be disabled by setting PublishReadyToRunUseRuntimePackOptimizationData to false
@ghost
Copy link

ghost commented May 27, 2021

I couldn't figure out the best area label to add to this PR. If you have write-permissions please help me learn by adding exactly one area label.

@jeffschwMSFT
Copy link
Member

Adding @marcpopMSFT

@davidwrighton davidwrighton requested a review from trylek May 27, 2021 21:16
Copy link
Member

@trylek trylek left a comment

Choose a reason for hiding this comment

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

LGTM, thank you!

@davidwrighton davidwrighton merged commit 428eb39 into dotnet:release/6.0.1xx-preview5 May 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants