Skip to content

M_CodeJam_PerfTests_Running_Core_CompetitionRunnerBase_Run_1

andrewvk edited this page Nov 8, 2016 · 2 revisions

CompetitionRunnerBase.Run Method (Type, ICompetitionConfig)

Runs the benchmark.

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

Syntax

C#

public CompetitionState Run(
	Type benchmarkType,
	ICompetitionConfig competitionConfig = null
)

VB

Public Function Run ( 
	benchmarkType As Type,
	Optional competitionConfig As ICompetitionConfig = Nothing
) As CompetitionState

F#

member Run : 
        benchmarkType : Type * 
        ?competitionConfig : ICompetitionConfig 
(* Defaults:
        let _competitionConfig = defaultArg competitionConfig null
*)
-> CompetitionState 

Parameters

 

benchmarkType
Type: System.Type
Benchmark class to run.
competitionConfig (Optional)
Type: CodeJam.PerfTests.Configs.ICompetitionConfig
The competition config. Ifnull config from CompetitionConfigAttribute will be used.

Return Value

Type: CompetitionState
The state of the competition.

See Also

Reference

CompetitionRunnerBase Class
Run Overload
CodeJam.PerfTests.Running.Core Namespace

Clone this wiki locally