Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[wasm] .NET WebAssembly profiling and memory diagnostics #69268

Closed
lambdageek opened this issue May 12, 2022 · 3 comments
Closed

[wasm] .NET WebAssembly profiling and memory diagnostics #69268

lambdageek opened this issue May 12, 2022 · 3 comments
Assignees
Labels
arch-wasm WebAssembly architecture area-Tracing-mono enhancement Product code improvement that does NOT require public API changes/additions
Milestone

Comments

@lambdageek
Copy link
Member

lambdageek commented May 12, 2022

Moved remaining goals to #76316

@ghost ghost added the untriaged New issue has not been triaged by the area owner label May 12, 2022
@lambdageek lambdageek added arch-wasm WebAssembly architecture area-Tracing-mono and removed area-Tracing-coreclr labels May 12, 2022
@ghost
Copy link

ghost commented May 12, 2022

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

Issue Details

Basics:

  • [wasm-ep] Minimal diagnostic tracing configuration and sample #69158
    This adds support for using the JS console to create an EventPipe session with the default providers and to collect a trace in-memory to the Emscripten VFS and to egress it to a JavaScript Blob object (which can then be downloaded).
  • Add support for specifying the providers for a session

Profiled AOT

The goal is to make it possible to add "something" to a webassembly project in order to cause it to collect a stack trace

Sample profiling

The goal is to make it possible to collect a meaningful profile of the main browser thread while it is running managed code

  • Figure out why no samples are collected for a mostly async app.
  • Identify a good default sampling frequency

Streaming EventPipe sessions

The goal is to make it possible to create a WebSocket connection back to the dev server to send live streaming EventPipe session data to the user.

Diagnostic server support

The goal is to make it possible to start and stop EventPipe sessions using a dotnet-dsrouter and dotnet-counters/dotnet-trace/etc combo when running a dev server.

Author: lambdageek
Assignees: -
Labels:

arch-wasm, untriaged, area-Tracing-mono

Milestone: -

@lambdageek lambdageek added tracking This issue is tracking the completion of other related issues. and removed untriaged New issue has not been triaged by the area owner labels May 12, 2022
@lambdageek lambdageek added this to the 7.0.0 milestone May 19, 2022
@lambdageek lambdageek modified the milestones: 7.0.0, 8.0.0 Aug 9, 2022
@lambdageek lambdageek modified the milestones: 8.0.0, 9.0.0 Jul 12, 2023
@tommcdon tommcdon added the enhancement Product code improvement that does NOT require public API changes/additions label Mar 12, 2024
@lewing lewing modified the milestones: 9.0.0, Future Apr 26, 2024
@pavelsavara pavelsavara modified the milestones: Future, 10.0.0 Dec 12, 2024
@pavelsavara pavelsavara self-assigned this Dec 12, 2024
@danroth27 danroth27 added the Priority:0 Work that we can't release without label Jan 13, 2025
@danroth27 danroth27 changed the title [wasm-ep] Tracking [wasm-ep] .NET WebAssembly profiling and memory diagnostics Feb 5, 2025
@pavelsavara pavelsavara changed the title [wasm-ep] .NET WebAssembly profiling and memory diagnostics [wasm] .NET WebAssembly profiling and memory diagnostics Feb 10, 2025
@pavelsavara
Copy link
Member

Previous goals

The goal is to make it possible to add "something" to a webassembly project in order to cause it to collect a nettrace file that can be fed to the dotnet-pgo tool to produce an .mibc file which can be consumed by the Mono AOT compiler.

@pavelsavara
Copy link
Member

unified with #76316

@pavelsavara pavelsavara removed tracking This issue is tracking the completion of other related issues. Priority:0 Work that we can't release without labels Feb 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arch-wasm WebAssembly architecture area-Tracing-mono enhancement Product code improvement that does NOT require public API changes/additions
Projects
None yet
Development

No branches or pull requests

5 participants