question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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:open
  • Created 4 years ago
  • Comments:6 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
kekekekscommented, Jul 20, 2019

So that would work by multitargeting Avalonia.DesktopRuntime to netcoreapp3.0 and providing a service from the locator.

0reactions
erichillercommented, Jun 24, 2022

I was wondering if anything was ever done for this?

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found