Skip to content

M_CodeJam_PerfTests_CompetitionBenchmarkAttribute__ctor_2

andrewvk edited this page Nov 8, 2016 · 2 revisions

CompetitionBenchmarkAttribute Constructor (Double, Double)

Marks the competition benchmark.

Namespace: CodeJam.PerfTests
Assembly: CodeJam.PerfTests (in CodeJam.PerfTests.dll) Version: 1.1.0.0 (1.1.0.0)

Syntax

C#

public CompetitionBenchmarkAttribute(
	double minRatio,
	double maxRatio
)

VB

Public Sub New ( 
	minRatio As Double,
	maxRatio As Double
)

F#

new : 
        minRatio : float * 
        maxRatio : float -> CompetitionBenchmarkAttribute

Parameters

 

minRatio
Type: System.Double
The minimum timing ratio relative to the baseline. Use Empty (used by default) to mark the limit as unset but updateable during the annotation. Use IgnoreValue to ignore the limit.
maxRatio
Type: System.Double
The maximum timing ratio relative to the baseline. Use Empty (used by default) to mark the limit as unset but updateable during the annotation. Use IgnoreValue to ignore the limit.

See Also

Reference

CompetitionBenchmarkAttribute Class
CompetitionBenchmarkAttribute Overload
CodeJam.PerfTests Namespace

Clone this wiki locally