4.7 KiB
Microsoft Performance Toolkit SDK
The Microsoft Performance Toolkit is a collection of cross-platform tools developers can use to create and extend performance analysis applications. It serves as the runtime of the Windows Performance Analyzer, a Windows program included in the Windows Performance Toolkit. By using the Microsoft Performance Toolkit SDK, Windows Performance Analyzer - or any performance analysis application - can be configured to process and display performance data from arbitrary sources.
The Microsoft Performance Toolkit SDK provides two key functionalities:
- Facilitating the development of "SDK plugins," which provide the SDK with logic for creating structured,
tabular data from arbitrary data sources such as Common Trace Format (
.ctf
) files - Allowing developers to extend an existing SDK plugin without access to its source code through an efficient, feature-rich data-processing pipeline
These two functionalities are not mutually exclusive, and plugins may access data in another plugin's (or, commonly, its own) data-processing pipeline when creating tables for a given data source.
For help with getting started and developing SDK plugins, refer to our documentation.
In this Repository
devel-template
: a work-in-progress .NET template for creating SDK pluginsdocumentation
: instructions for how to utilize the SDK and create SDK pluginssamples
: example SDK plugins' source codesrc
: the source code for the SDK
Projects in the SDK Solution
Microsoft.Performance.SDK
: Software library for building SDK pluginsMicrosoft.Performance.SDK.Runtime
: Runtime for loading and processing data from plugins. Plugins should not depend on this libraryMicrosoft.Performance.SDK.Runtime.NetCoreApp
: .NETCore-specific functionality ofMicrosoft.Performance.SDK.Runtime
Microsoft.Performance.SDK.Toolkit.Engine
: Interface for programmatically manipulating, cooking, and accessing data from SDK pluginsMicrosoft.Performance.SDK.Tests
: Tests forMicrosoft.Performance.SDK
Microsoft.Performance.SDK.Runtime.Tests
: Tests forMicrosoft.Performance.SDK.Runtime
Microsoft.Performance.SDK.Runtime.NetCoreApp.Tests
: Tests forMicrosoft.Performance.SDK.Runtime.NetCoreApp
Microsoft.Performance.SDK.Toolkit.Engine.Tests
: Tests forMicrosoft.Performance.SDK.Toolkit.Engine
Microsoft.Performance.SDK.Testing
: General utilities for authoring testsMicrosoft.Performance.SDK.Testing.SDK
: SDK-specific utilities for authoring testsPluginConfigurationEditor
: description coming soon
Known SDK Driver Plugin Compatibility
This repository tracks which versions of the SDK are compatibile with certain SDK drivers such as Windows Performance Analyzer. This information can be used to determine which version of an SDK driver should be used when loading plugins compiled against a specific SDK version.
This information is listed in the known SDK driver compatibility lists document.
Getting Started
Refer to the documentation folder for help with creating SDK plugins.
Coming Soon
Team is actively working to provide better documentation, more samples, and several in-depth tutorials.
How to Engage, Contribute, and Provide Feedback
The Performance ToolKit team encourages contributions through both issues and PRs.
Community
This project uses the Microsoft Open Source Code of Conduct..
Trademarks
This project may contain Microsoft trademarks or logos for Microsoft projects, products, or services. Authorized use of these trademarks or logos is subject to and must follow Microsoft’s Trademark & Brand Guidelines. Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship.
Security
To report a security issue, please follow the guidance here: Security.
Licenses
All code in this repository is licensed under the MIT License.