Class PerformanceBottleneck
- Namespace
- DotCompute.Core.Telemetry.Analysis
- Assembly
- DotCompute.Core.dll
Represents a performance bottleneck identified during trace analysis. Contains information about the bottleneck location, impact, and potential solutions.
public sealed class PerformanceBottleneck
- Inheritance
-
PerformanceBottleneck
- Inherited Members
Properties
Description
Gets or sets the description of the bottleneck. Explains what is causing the performance issue and its characteristics.
public string Description { get; set; }
Property Value
- string
The bottleneck description as a string.
Duration
Gets or sets the duration of the bottleneck effect. Represents how long the bottleneck was active during the trace.
public TimeSpan Duration { get; set; }
Property Value
- TimeSpan
The bottleneck duration as a TimeSpan.
Id
Gets or sets the unique identifier for this bottleneck. Used for tracking and referencing specific bottlenecks across analyses.
public string Id { get; set; }
Property Value
- string
The bottleneck identifier as a string.
ImpactPercentage
Gets or sets the estimated performance impact percentage. Represents how much the bottleneck is slowing down overall execution.
public double ImpactPercentage { get; set; }
Property Value
- double
The impact percentage as a decimal (e.g., 0.25 = 25% impact).
Location
Gets or sets the location where the bottleneck occurs. Could be a span ID, device ID, or operation name.
public string Location { get; set; }
Property Value
- string
The bottleneck location as a string.
Metadata
Gets or sets additional metadata about the bottleneck. Contains context-specific information that may be useful for analysis.
public Dictionary<string, object?> Metadata { get; init; }
Property Value
- Dictionary<string, object>
A dictionary of metadata key-value pairs.
Name
Gets or sets the name or type of the bottleneck. Provides a human-readable classification of the bottleneck.
public string Name { get; set; }
Property Value
- string
The bottleneck name as a string.
Recommendations
Gets or sets the recommended actions to address this bottleneck. Provides specific suggestions for resolving or mitigating the issue.
public IList<string> Recommendations { get; init; }
Property Value
Severity
Gets or sets the severity score of the bottleneck (0.0 to 1.0). Higher values indicate more severe performance impact.
public double Severity { get; set; }
Property Value
- double
The severity score as a decimal between 0.0 and 1.0.