Redesigned filters in dotTrace 2016.3
If you are a long-term user of dotTrace Timeline Viewer, you’ve likely noticed some UI changes in dotTrace 2016.3. What has changed exactly and, more importantly, why were these changes made? Read on to find out.
Before 2016.3, it was not obvious where you should start examining a snapshot. Potential sources of performance drops were spread around the UI: Memory Allocation in Analysis Subject, separate Garbage Collection filter, File I/O in Interval Filters, and so on.
We’ve decided to leave just one place for all events that may affect performance — the Events filter. As a result, you no longer need to observe the UI trying to identify the best starting point. It’s all here.
Note also that Events have got a lot of filters from Interval Filters (currently only two filters are left in Interval Filters, UI Freeze and Incoming HTTP Requests). The reason for doing this (besides the one given above) was that most of these events don’t normally intersect with each other, because they represent blocking activities (e.g. file operations, lock contentions, and SQL requests). Selecting one of the Intervals Filters would usually disable others. So, keeping such filters there didn’t really make a lot of sense. The rare cases when these events intersect with each other are now covered by Subsystems (make sure to learn more about this super-helpful feature in a separate post).
In summary, the new Events filter is now a single place that allows users to select a particular event and answer the question “What do I want to analyze?”.
Thread State filter
The next change, which isn’t so dramatic, is moving the Ready state from the Thread State filter to Subsystems. Why?
First of all, the meaning of this state was not obvious for some users. Now, Thread State turns into a simple switch which makes it an ideal tool for work/wait analysis. For example, it can be helpful to distinguish between cached file I/O (Running) and disk I/O (Waiting) or detect spinwaiting inside lock contentions (Running).
The second reason is that Subsystems seem to be a perfect fit for the Ready state. The general idea behind Subsystems is to have a single place that shows how time in the current scope is distributed among various activities. So, the Ready subsystem can quickly answer the question “Was that lag caused by CPU starvation?”.
We believe these UI changes make dotTrace even easier to use. As usual, we suggest that you download ReSharper Ultimate and try the updated dotTrace for yourself. Let us know what you think!
Subscribe to Blog updates
Creating Custom AI Prompts
AI has swept through the software development industry like a wildfire. So people want to learn how to best use AI in their day to day tasks. In this post we’ll take a look at how to write custom prompts for use with the JetBrains AI Assistant in ReSharper and Rider so you can make the most of AI.&n…
12 Debugging Techniques In JetBrains Rider You Should Know About
Twelve must know debugging features in JetBrains Rider every developer should know.
Interceptors – Using C# 12 in Rider and ReSharper
Welcome to our series, where we take a closer look at the C# 12 language features and how ReSharper and Rider make it easy for you to adopt them in your codebase. If you haven’t yet, download the latest .NET 8 SDK and update your project files! In this series, we are looking at: Primary …