Skip to content

[User Story] RyuJIT Wasm Codegen Quality Improvements #135985

Open
1 of 1 issue completed
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

SIMD

Tail Calls

  • Investigate the benefit of enabling implicit tail calls on Wasm (currently all tail calls are disabled due to issues when the callee is interpreted.)

GDV

Null Checks

Steady-state runtime perf

Loops

Cross-cutting

Opt-Repeat

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

Sub-issues

Sub-issues

1 of 1 Issues completed
Loading 1 sub-issues

Activity

  1. added this to the 12.0.0 milestone on Oct 16, 2026
  2. added
    arch-wasm
    tenet-performance
    area-CodeGen-coreclr
    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 Story
    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 Storyarch-wasmarea-CodeGen-coreclrtenet-performance

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions