Skip to content

[browser][R2R] use wasm-opt to optimize size of webCIL #134439

Closed

Description

@pavelsavara

After running crossgen but before fingerprint.
Only when wasm-tools workload is available.
Consider WasmRunWasmOpt property

Activity

  1. added this to the 12.0.0 milestone on Sep 22, 2026
  2. added
    arch-wasm
    os-browser
    on Sep 22, 2026
  3. dotnet-policy-service commented on Sep 22, 2026

    @dotnet-policy-service
    Contributor

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

  4. kotlarmilos commented on Oct 16, 2026

    @kotlarmilos
    Member

    I tried wasm-opt -O2 on the Havit app using the CoreCLR browser R2R output with names stripped. It takes about 470 KB off the Brotli size, roughly 10% of the composite image and 7% of the per-assembly total. Mobile startup gets about 200 ms faster on composite and about 100 ms on per-assembly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

arch-wasmarea-Build-monoos-browser

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions