6 ms·
How's your experience with C#/.NET been? Does it have an analogous offering to Java's JFR[0] for always-on profiling? [0] https://blogs.oracle.com/javamagazine
by azth 5y ago
How's your experience with C#/.NET been? Does it have an analogous offering to Java's JFR[0] for always-on profiling?
[0] https://blogs.oracle.com/javamagazine/java-flight-recorder-and-jfr-event-streaming-in-java-14 https://blogs.oracle.com/javamagazine/java-flight-recorder-a...
- bpicolo 5y agoSeems like EventPipe is the C# equivalent? https://docs.microsoft.com/en-us/dotnet/core/diagnostics/eventpipe https://docs.microsoft.com/en-us/dotnet/core/diagnostics/eve...
- azth 5y agoIt seems somewhat similar, but I don't see mention of method traces (similar to a profile view in figure 7 in the blog post I listed).
- bpicolo 5y agoThere are tools built on top of it to that effect (eventpipe -> dotnet-trace -> tools built on top of trace) https://www.hanselman.com/blog/dotnettrace-for-net-core-tracing-in-perfview-speedscope-chromium-event-trace-profiling-flame-graphs-and-more https://www.hanselman.com/blog/dotnettrace-for-net-core-trac...
- bob1029 5y agoI am not familiar with the scope of JFR, but there have been some very recent movements around profiling in C#/.NET: https://devblogs.microsoft.com/dotnet/introducing-dotnet-monitor/ https://devblogs.microsoft.com/dotnet/introducing-dotnet-mon... https://devblogs.microsoft.com/dotnet/whats-new-in-dotnet-monitor/ https://devblogs.microsoft.com/dotnet/whats-new-in-dotnet-mo... My experience overall with the C# ecosystem has been fantastic. We started out on .NET Framework 4.x back in 2014-2015, and today are now talking about moving to .NET 6 and rewriting our native apps to use MAUI as November grows closer. A lot of the same code we had back in 2015 is still running today with zero modifications.