Replies: 3 comments 6 replies
-
@fforjan Do you means the performance issues? |
Beta Was this translation helpful? Give feedback.
-
WPF uses ETW events, including those to report on measurement, layout and render. You can collect them yourself or use PerfView: https://devblogs.microsoft.com/dotnet/improving-your-apps-performance-with-perfview/ to visualize/measure them. (Also see microsoft/perfview#554) There used to be a WPF Performance Suite: https://learn.microsoft.com/en-us/previous-versions/aa969767(v=vs.110) but I suspect that doesn't work with .NET Core. I don't think a move to different performance tracking system is feasible. Either you would have two things tracking performance, or you would have to get rid of ETW which would break compatibility. |
Beta Was this translation helpful? Give feedback.
-
@miloush Do you know if it possible to collect them in the same process of the application ? I'm working on allowing Chrome Dev Tools to see any .net application and be able to connect to see some trace / inspect : this is what I could get from Avalonia by simply looking at the .net Activity / .net meter infrastructure and wanted to do the same in WPF But I would like to be able to 'read' them in the same process. I will browse the different links you gave me but if you have any sample for reading those measurement in the same process, i would be more than happy if you can share those. |
Beta Was this translation helpful? Give feedback.
-
The intent would be able to debug some slowness and understand what's happening within WPF ?
Beta Was this translation helpful? Give feedback.
All reactions