Over a million developers have joined DZone.

SDP Workshop: Monitoring .NET Performance with ETW


I’ve been doing .NET performance workshops at the SDP for 4 years now, and this year I thought it was time for a change. The traditional workshop used to be about a variety of commercial performance measurement tools, such as the Visual Studio profiler, and unfortunately I wasn’t able to offer any labs, so it wasn’t really a hands-on workshop. This time I decided to rewrite 90% of the materials and focus only on ETW tools. Here’s the rough agenda of the workshop — I’m pretty happy with the results!

  • Introduction to semantic logging and ETW
  • Capturing kernel ETW events with xperf and WPR
  • Basic ETW trace analysis with WPA
  • .NET CPU profiling with PerfView
  • .NET “thread time” profiling with PerfView
  • .NET memory leak analysis with PerfView heap snapshots
  • Programmatic access to ETW recordings
  • Real-time ETW monitoring using the TraceEvent library

We had to duplicate the workshop to make sure everyone who registered gets a classroom seat with a computer to actually practice all of these scenarios. With five labs spanning at least 30% of the day, I think this workshop is considerably more effective than the previous format.

Why am I telling you all this? Well, first, if it sounds interesting, stay tuned for the next SDP (May 2015) — I’m definitely doing this workshop again. Also, if you were at the workshop, you can find here the labs and workshop materials.

Thanks for coming, and see you at the next SDP!


Published at DZone with permission of Sasha Goldshtein, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

The best of DZone straight to your inbox.

Please provide a valid email address.

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}