You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[wasm] .NET WebAssembly profiling and memory diagnostics #69268
changed the title [-][wasm-ep] .NET WebAssembly profiling and memory diagnostics[/-][+][wasm] .NET WebAssembly profiling and memory diagnostics[/+]on Feb 10, 2025
[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).
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.
Activity
[-][wasm-ep] Tracking[/-][+][wasm-ep] .NET WebAssembly profiling and memory diagnostics[/+][-][wasm-ep] .NET WebAssembly profiling and memory diagnostics[/-][+][wasm] .NET WebAssembly profiling and memory diagnostics[/+]pavelsavara commentedon Feb 10, 2025
Previous goals
[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).
[wasm-ep] Implement EventSource counters support; add an EventPipeSessionOptions builder to TS #69567
Save runtime artifacts from the EventPIpe build in anwe ended up with separate runtime packs selected usingepsubfolder in the runtime pack (in addition tomtand plain) (variant of [wasm-mt] place multi-threaded wasm build into separate artifacts folders #68506)MonoWasmBuildVariant=perftraceorMonoWasmBuildVariant=multithreadin Add support for building WASM variants alongside single-threaded to the build system #71054SDK property to build the app with profiling enabled using the
epvariant of the runtime artifacts The browser-wasm SDK should automatically reference the threading/perf-tracing ref assemblies #72872The 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-pgotool to produce an.mibcfile which can be consumed by the Mono AOT compiler.The goal is to make it possible to start and stop EventPipe sessions using a
dotnet-dsrouteranddotnet-counters/dotnet-trace/etc combo when running a dev server.dotnet-dsrouter server-websocketis https://github.com/lambdageek/diagnostics/tree/wasm-server)pavelsavara commentedon Feb 10, 2025
unified with #76316