Skip to content

[browser][coreCLR] relink with -O3#130772

Open
pavelsavara wants to merge 1 commit into
dotnet:mainfrom
pavelsavara:browser_o3
Open

[browser][coreCLR] relink with -O3#130772
pavelsavara wants to merge 1 commit into
dotnet:mainfrom
pavelsavara:browser_o3

Conversation

@pavelsavara

Copy link
Copy Markdown
Member

Fixes #108976

If it makes things worse in macro benchmark we could roll it back

@pavelsavara pavelsavara added this to the 11.0.0 milestone Jul 15, 2026
@pavelsavara pavelsavara self-assigned this Jul 15, 2026
Copilot AI review requested due to automatic review settings July 15, 2026 11:25
@pavelsavara pavelsavara added arch-wasm WebAssembly architecture area-Host os-browser Browser variant of arch-wasm labels Jul 15, 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.

@azure-pipelines

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.

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

Updates the CoreCLR browser-wasm relink MSBuild targets to use -O3 as the default Emscripten optimization level (and explicitly for Release linking), aligning build output toward higher optimization.

Changes:

  • Change the default EmccCompileOptimizationFlag fallback from -O2 to -O3.
  • Change the default Release EmccLinkOptimizationFlag from -O2 to -O3.

Comment thread src/mono/browser/build/BrowserWasmApp.CoreCLR.targets
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[wasm] Measure browser-bench performance with O3

3 participants