| external help file | PSPublishModule-help.xml |
|---|---|
| Module Name | PSPublishModule |
| online version | https://github.com/EvotecIT/PSPublishModule |
| schema | 2.0.0 |
Creates a benchmark gate definition for DotNet publish DSL.
New-ConfigurationDotNetBenchmarkGate -Id <string> -SourcePath <string> -BaselinePath <string> [-Enabled <bool>] [-BaselineMode <DotNetPublishBaselineMode>] [-FailOnNew <bool>] [-RelativeTolerance <double>] [-AbsoluteToleranceMs <double>] [-OnRegression <DotNetPublishPolicyMode>] [-OnMissingMetric <DotNetPublishPolicyMode>] [-Metrics <DotNetPublishBenchmarkMetric[]>] [<CommonParameters>]Creates a benchmark gate definition for DotNet publish DSL.
$m = New-ConfigurationDotNetBenchmarkMetric -Name 'storage.ms' -Source JsonPath -Path 'storage.ms'
New-ConfigurationDotNetBenchmarkGate -Id 'storage' -SourcePath 'Artifacts\bench.json' -BaselinePath 'Build\Baselines\storage.json' -Metrics $mAbsolute tolerance in milliseconds.
Type: Double
Parameter Sets: __AllParameterSets
Aliases: None
Possible values:
Required: False
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: TrueBaseline operation mode.
Type: DotNetPublishBaselineMode
Parameter Sets: __AllParameterSets
Aliases: None
Possible values: Verify, Update
Required: False
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: TrueBaseline file path.
Type: String
Parameter Sets: __AllParameterSets
Aliases: None
Possible values:
Required: True
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: TrueEnables this gate.
Type: Boolean
Parameter Sets: __AllParameterSets
Aliases: None
Possible values:
Required: False
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: TrueFail when new metrics appear.
Type: Boolean
Parameter Sets: __AllParameterSets
Aliases: None
Possible values:
Required: False
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: TrueGate identifier.
Type: String
Parameter Sets: __AllParameterSets
Aliases: None
Possible values:
Required: True
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: TrueMetric extraction rules.
Type: DotNetPublishBenchmarkMetric[]
Parameter Sets: __AllParameterSets
Aliases: None
Possible values:
Required: False
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: TruePolicy on missing metrics.
Type: DotNetPublishPolicyMode
Parameter Sets: __AllParameterSets
Aliases: None
Possible values: Warn, Fail, Skip
Required: False
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: TruePolicy on regression.
Type: DotNetPublishPolicyMode
Parameter Sets: __AllParameterSets
Aliases: None
Possible values: Warn, Fail, Skip
Required: False
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: TrueRelative tolerance.
Type: Double
Parameter Sets: __AllParameterSets
Aliases: None
Possible values:
Required: False
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: TrueSource benchmark file path.
Type: String
Parameter Sets: __AllParameterSets
Aliases: None
Possible values:
Required: True
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: TrueThis cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
None
PowerForge.DotNetPublishBenchmarkGate
- None