-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Profile Blazor WASM using Mono log profiler #72870
Comments
@Chris-D-Turk thanks for contacting us. @lewing is there a reasonable way in which we can enable this scenario? |
Ping @lewing |
Thanks for contacting us. We're moving this issue to the |
The runtime supports this but the current tooling story is around enabling eventpipe/eventsource so this isn't a supported scenario and you'd be on your own to get it working. We're doing some planning in the next few weeks and it is possible that this could change, I'll let everyone know if it does. |
@lewing Thanks for your feedback. |
I managed to enable the profiler by invoking |
Tagging subscribers to 'arch-wasm': @lewing Issue DetailsAFAIK there's currently no built-in option to profile Blazor WASM apps (cpu sampling). see #76316 But I don't know how to pass the necessary arguments to the runtime environment: Is there any way to start a Blazor App with Mono arguments?
|
Hi @Chris-D-Turk , @lewing , What is the status of this issue? Is there any way to pass arguments to environment? |
I implemented browser profiler based on mono profiler here #77449 |
Closing this in favor of #72870 |
AFAIK there's currently no built-in option to profile Blazor WASM apps (cpu sampling). see #76316
But as Blazor WASM uses a Mono Runtime it should be possible to use the Mono log profiler?!
The devs of Uno WASM somehow managed to do this: https://platform.uno/blog/uno-platform-4-1-30-perf-boost-android-12-net-6-mobile-preview-13-and-more/
But I don't know how to pass the necessary arguments to the runtime environment:
--profile=log:sample,output=xxx.mlpd
Is there any way to start a Blazor App with Mono arguments?
The text was updated successfully, but these errors were encountered: