Class QueryGuardScopeComparison
- Namespace
- QueryGuard
- Assembly
- QueryGuard.Core.dll
How one scope compares to what it cost when the baseline was recorded.
public sealed class QueryGuardScopeComparison
- Inheritance
-
QueryGuardScopeComparison
- Inherited Members
Remarks
The useful sentence a tool can say about a pull request is not "this endpoint runs 51 queries": it is "this pull request changed this endpoint from 3 to 51". The first needs a reader who knows what good looks like. The second does not.
Constructors
- QueryGuardScopeComparison(string, QueryGuardBaselineEntry?, QueryGuardBaselineEntry)
Initializes a new instance of the QueryGuardScopeComparison class.
Properties
- Current
Gets what the scope costs now.
- IsImprovement
Gets whether this scope got better.
- IsNew
Gets whether this scope has no baseline to compare against.
- IsRegression
Gets whether this scope got worse.
- ReadCommandDelta
Gets the change in counted read commands. Positive means more queries than before.
- Scope
Gets the scope compared.
- TopFingerprintDelta
Gets the change in how many times the most repeated fingerprint ran.
Methods
- ToString()
Returns a string that represents the current object.