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-ep] Tracking #69268

Open
9 of 22 tasks
Tracked by #68162
lambdageek opened this issue May 12, 2022 · 1 comment
Open
9 of 22 tasks
Tracked by #68162

[wasm-ep] Tracking #69268

lambdageek opened this issue May 12, 2022 · 1 comment
Labels
arch-wasm WebAssembly architecture area-Tracing-mono enhancement Product code improvement that does NOT require public API changes/additions tracking This issue is tracking the completion of other related issues.
Milestone

Comments

@lambdageek
Copy link
Member

lambdageek commented May 12, 2022

Basics:

Build and SDKs

Profiled AOT

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.

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

Mixed C#/JS perf Integration

  • Add a way for JavaScript to push events to EventSources.
    • Maybe add ability to define EventSources in JS?
  • Integrate/interop and collect from the JS Performance Timeline API
  • Converse integration: export EventPipe events into the browser's perf timeline

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.

Issues

@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
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 tracking This issue is tracking the completion of other related issues.
Projects
None yet
Development

No branches or pull requests

3 participants