Command
Add-BenchmarkComparison
Adds a benchmark comparison definition.
Syntax
Add-BenchmarkComparison
-Baseline <String>
[[-Dimension] <String>]
[-Metric <String[]>]
[-RequireBaselineFastest]
[-TieTolerance <Double>]
[<CommonParameters>]#Parameter set:
All Parameter SetsExamples
Example 1
Add-BenchmarkComparison -Baseline 'Value'Parameters
- -Baseline String
- Baseline value.
- -Dimension String
- Dimension to compare.
- -Metric String[]
- Metric names.
- -RequireBaselineFastest SwitchParameter
- Fail the benchmark when the baseline is materially slower than a successful competitor.
- -TieTolerance Double
- Fractional tolerance used to label practically equivalent results, such as 0.05 for five percent.
Common Parameters
This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.
For more information, see about_CommonParameters.