PW.Diagnostics.Runtime
1.4.5
.NET 6.0
This package targets .NET 6.0. The package is compatible with this framework or higher.
.NET Core 3.1
This package targets .NET Core 3.1. The package is compatible with this framework or higher.
.NET Framework 4.7.1
This package targets .NET Framework 4.7.1. The package is compatible with this framework or higher.
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package PW.Diagnostics.Runtime --version 1.4.5
NuGet\Install-Package PW.Diagnostics.Runtime -Version 1.4.5
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="PW.Diagnostics.Runtime" Version="1.4.5" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add PW.Diagnostics.Runtime --version 1.4.5
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: PW.Diagnostics.Runtime, 1.4.5"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install PW.Diagnostics.Runtime as a Cake Addin #addin nuget:?package=PW.Diagnostics.Runtime&version=1.4.5 // Install PW.Diagnostics.Runtime as a Cake Tool #tool nuget:?package=PW.Diagnostics.Runtime&version=1.4.5
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
PW.Diagnostics.Runtime
A plugin for the System.Diagnostics.DiagnosticSource package, exposing .NET runtime metrics including:
- Garbage collection collection frequencies and timings by generation/ type, pause timings and GC CPU consumption ratio
- Heap size by generation
- Bytes allocated by small/ large object heap
- JIT compilations and JIT CPU consumption ratio
- Thread pool size, scheduling delays and reasons for growing/ shrinking
- Lock contention
- Exceptions thrown, broken down by type
These metrics are essential for understanding the performance of any non-trivial application. Even if your application is well instrumented, you're only getting half the story- what the runtime is doing completes the picture.
Using this package
Requirements
- .NET core 3.1 (runtime version 3.1.11+ is recommended)/ .NET 6.0/ .NET Framework 4.7.1
- The PW.Diagnostics.Runtime package
Install it
The package can be installed from nuget:
dotnet add package PW.Diagnostics.Runtime
Integration with Opentelemetry
See example and extension method
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp3.1 is compatible. |
.NET Framework | net471 is compatible. net472 was computed. net48 was computed. net481 was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETCoreApp 3.1
- System.Diagnostics.DiagnosticSource (>= 6.0.0)
-
.NETFramework 4.7.1
- Microsoft.Diagnostics.Tracing.TraceEvent (>= 3.0.5)
- System.Diagnostics.DiagnosticSource (>= 6.0.0)
-
net6.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories (1)
Showing the top 1 popular GitHub repositories that depend on PW.Diagnostics.Runtime:
Repository | Stars |
---|---|
lindexi/lindexi_gd
博客用到的代码
|