Skip to content

[browser][CoreCLR] Use browser PGO data for prebuilt CoreLib - #136970

Merged
pavelsavara merged 2 commits into
dotnet:mainfrom
pavelsavara:browser-coreclr-corelib-pgo
Nov 9, 2026
Merged

pavelsavara merged 2 commits into
dotnet:mainfrom
pavelsavara:browser-coreclr-corelib-pgo

Conversation

@pavelsavara

@pavelsavara pavelsavara commented Nov 4, 2026 •

Copy link
Copy Markdown
Member

Summary

  • Select the already tracked optimization.browser-wasm.MIBC.Runtime dependency for browser/wasm runtime optimization-data restore instead of falling back to linux-x64 data.
  • Reuse the existing staging, StandardOptimizationData.mibc merge, and CoreLib crossgen2 invocation. No compiler or partial-R2R changes are needed.

The package is already published and versioned by #134356. Selection deliberately does not use a cache-file Exists condition: that would retain the desktop fallback on cold restores. Normal restore errors and the existing missing-MIBC diagnostic remain intact.

Resolves #132717

Note

This pull request was generated with GitHub Copilot assistance.

Select the existing browser-wasm MIBC dependency for runtime optimization
data restore so the CoreLib merge no longer consumes desktop profiles.
Document staging, optimization gating, and cold-restore behavior.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@azure-pipelines

azure-pipelines Bot commented Nov 4, 2026 •

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

@pavelsavara pavelsavara added arch-wasm WebAssembly architecture os-browser Browser variant of arch-wasm labels Nov 4, 2026
@dotnet-policy-service

Copy link
Copy Markdown
Contributor

Tagging subscribers to 'arch-wasm': @lewing, @pavelsavara
See info in area-owners.md if you want to be subscribed.

@dotnet-policy-service

Copy link
Copy Markdown
Contributor

Tagging subscribers to this area: @dotnet/crossgen-contrib
See info in area-owners.md if you want to be subscribed.

Comment thread docs/workflow/building/coreclr/wasm.md Resolved
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@pavelsavara

Copy link
Copy Markdown
Member Author

/ba-g unrelated CI failures

@pavelsavara
pavelsavara merged commit dd80a6d into dotnet:main Nov 9, 2026
137 of 142 checks passed
@pavelsavara
pavelsavara deleted the browser-coreclr-corelib-pgo branch November 9, 2026 13:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

arch-wasm WebAssembly architecture area-ReadyToRun os-browser Browser variant of arch-wasm

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[browser][coreCLR] R2R: Consume the WASM PGO profile in the CoreLib R2R build

3 participants