Skip to content

[User Story] RyuJIT Wasm Codegen Quality Improvements #135985

Open

Description

@adamperlin

This is a blanket issue meant to track code quality improvements to size, startup, and runtime performance for the new RyuJIT Wasm Backend. Our current priorities are size-focused and so far, size improvements seem highly correlated with startup performance as well. Size improvements are often correlated with steady-state runtime performance improvements, though we shouldn't necessarily assume that will always be the case.

Perf Categories

Size / Startup

Regalloc

Inlining

  • Tune inlining policy for Wasm to reduce code size

Morph

Prolog/Epilog

  • Drop stack frame setup and teardown for methods which don't need stack space and don't need unwinding

Loops

  • Investigate disabling loop cloning/unrolling on Wasm

SIMD

Tail Calls

Null Checks

Steady-state runtime perf

Loops

Cross-cutting

Opt-Repeat

  • Investigate the impact of running opt repeat in an AOT Wasm context

Activity

  1. added this to the 12.0.0 milestone on Oct 16, 2026
  2. added
    arch-wasmWebAssembly architecture
    area-CodeGen-coreclrCLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI
    on Oct 16, 2026
  3. dotnet-policy-service commented on Oct 16, 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. dotnet-policy-service commented on Oct 16, 2026

    @dotnet-policy-service
    Contributor

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

  5. changed the title [-][RyuJIT Wasm] Codegen Quality Improvements[/-] [+][User Story] RyuJIT Wasm Codegen Quality Improvements[/+] on Oct 19, 2026
  6. added
    User StoryA single user-facing feature. Can be grouped under an epic.
    on Oct 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

User StoryA single user-facing feature. Can be grouped under an epic.arch-wasmWebAssembly architecturearea-CodeGen-coreclrCLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMItenet-performancePerformance related issue

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions