Add Opt-in metrics for performance tracing on supported runtimes
See original GitHub issue.NET Core 3.0 adds some really nice APIs for tracking performance metrics easily with the new EventCounter
-inherited types and the dotnet-trace
and dotnet-counters
tools. We should look at providing information to these APIs and tools so that both we and our users can measure the performance of various portions of Avalonia and so we can track perf better without for example having to recompile with ShowFps
turned on.
Some example metrics off the top of my head:
- Frames per second
- Time to first frame
- Layout pass duration
- Xaml object parse/construction duration
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (5 by maintainers)
Top Results From Across the Web
Working with Lambda function metrics
Lambda recursive loop detection monitors how many times a function is invoked as part of a chain of requests by tracking metadata added...
Read more >Runtime Metrics
Enable runtime metrics collection in the tracing client to gain additional insights into an application's performance. Runtime metrics can be viewed in the ......
Read more >Open the Performance monitor tool
The Performance monitor tool in DevTools provides real-time performance metrics to help investigate performance issues.
Read more >Distributed tracing and telemetry correlation in Azure ...
This article provides information about distributed tracing and telemetry correlation.
Read more >Runtime metrics | Docker Documentation
You can use the docker stats command to live stream a container's runtime metrics. The command supports CPU, memory usage, memory limit, and...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
So that would work by multitargeting Avalonia.DesktopRuntime to
netcoreapp3.0
and providing a service from the locator.I was wondering if anything was ever done for this?