Showing results for Performance and Diagnostics - Performance and Diagnostics

Oct 25, 2023
Post comments count8
Post likes count3

Deep Dive Analysis: Why did this dll increase in file size by 50%?

Keith Mahoney
Keith Mahoney

We recently noticed that one of the dlls that we produce had suddenly jumped up in file size. The WinUI Controls library, Microsoft.UI.Xaml.Controls.dll that ships as part of Windows App SDK had ballooned in size in our internal builds. It had suddenly grown from 7 MB to 10.5 MB - approximately a 50% increase in size. What had happened to cause thi...

Performance and DiagnosticsSizeBench
Feb 22, 2023
Post comments count3
Post likes count3

ETW Trace Processing Fails with Error Code 0x80070032

Jayson Maxson
Jayson Maxson

TL;DR New values in an existing ETW event aren’t supported, and a new version of the Windows Performance Toolkit (WPT) or the Microsoft.Windows.EventTracing.Processing.Toolkit NuGet library is needed to process traces with these events. About this failure We began to receive reports of WPA failing to process traces with this error code in late 2...

Performance and Diagnostics
Jun 20, 2022
Post comments count0
Post likes count1

Recording Hardware Performance (PMU) Events with Complete Examples

Sowoon Pyo
Sowoon Pyo

Performance Monitor Unit (PMU) events are used to measure CPU performance and understand workloads CPU characterization. Windows provides a way to collect PMU events through Event Tracing for Windows (ETW). When combined with other ETW events, we can tell a lot more concrete story about the performance. I recently added “Recording Hardware performa...

Performance and DiagnosticsWindows Performance Recorder
Jun 28, 2021
Post comments count0
Post likes count0

WPA: Table & Graph Configurations (Part 2)

Tristan Gibeau
Tristan Gibeau

In Part 1, we discussed the different types of columns options available in WPA's table views and how those views can be configured. This blog will continue the series by digging into how to configure columns for different graph styles that can show numeric aggregations, time, and hierarchical data: Graphing Overview Before we ...

Performance and DiagnosticsWindows Performance Analyzer
Jun 25, 2021
Post comments count2
Post likes count1

Setting up an autologger with WPR

Sowoon Pyo
Sowoon Pyo

WPR supports configuring an autologger. Setting up the autologger and collecting the autologger trace is as easy as starting/stopping the trace. This article introduces how to start, stop, and cancel the autologger as well as export the autologger registry keys.

Windows Performance RecorderPerformance and DiagnosticsEvent Tracing for Windows
Jan 15, 2021
Post comments count1
Post likes count0

Windows Performance Analyzer – Table & Graph Configurations (Part 1)

Tristan Gibeau
Tristan Gibeau

In the previous post, we discussed a brief intro into Windows Performance Analyzer (WPA) and its feature set.  WPA can display trace data in a wide array of formats, most of which are pre-configured as presets designed for drilling into specific data points. Here is one for example: WPA's CPU Usage (Sampled) table has a few different presets, ea...

Performance and DiagnosticsWindows Performance Analyzer
Dec 10, 2020
Post comments count0
Post likes count2

Authoring Custom Profiles – Part 2

Sowoon Pyo
Sowoon Pyo

In this post, we enhance the simple custom profile for WPR by adding the system tracing session. Because kernel events provide critical information about processes, threads, modules, and more, collecting the system events greatly extends your ability to analyze traces and diagnose issues.

Windows Performance RecorderPerformance and DiagnosticsEvent Tracing for Windows
Nov 10, 2020
Post comments count0
Post likes count2

Authoring custom profiles – Part 1

Sowoon Pyo
Sowoon Pyo

This is the first post in a multi-part series about authoring custom profiles for Windows Performance Recorder (WPR.) In a previous post, we have looked at how to start a trace with built-in profiles. The built-in profiles offer wide variety of preset profiles that we can use for different scenarios. There are built-in profiles for CPU usage, Ne...

Windows Performance RecorderPerformance and DiagnosticsEvent Tracing for Windows
Sep 29, 2020
Post comments count0
Post likes count2

Windows Performance Analyzer “WPA” Intro

Tristan Gibeau
Tristan Gibeau

If you do a search online for WPA, you might find information for protecting your Wi-Fi, but that is a different type of WPA. In the performance & diagnostics space WPA stands for Windows Performance Analyzer, a friendly but intricate UI that allows for developers and analyst to deep dive into performance traces captured on Windows (and beyo...

Windows Performance AnalyzerPerformance and Diagnostics