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

[Android, Perf] MetroLog is expensive on App startup #48

Open
OvrBtn opened this issue Nov 1, 2024 · 0 comments
Open

[Android, Perf] MetroLog is expensive on App startup #48

OvrBtn opened this issue Nov 1, 2024 · 0 comments

Comments

@OvrBtn
Copy link

OvrBtn commented Nov 1, 2024

After recording a dotnet-trace of my app to see what I can optimize I noticed that MetroLog is taking huge amount of time on CreateaMauiApp
image

Full speedscope
maui-app_20241101_133832.speedscope.json

Main issues:
image
image
image

I didn't look into the codebase (yet) but maybe the first 2 things should happen on demand when error is logged?
In terms of .ToUpper() I think it could be solved by making it CultureInvariant but I'm not sure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant