Skip to content

M_CodeJam_PerfTests_Competition_Run

andrewvk edited this page Nov 8, 2016 · 2 revisions

Competition.Run Method (Type, ICompetitionConfig)

Runs the benchmark.

Namespace: CodeJam.PerfTests
Assemblies:  CodeJam.PerfTests.MSTest (in CodeJam.PerfTests.MSTest.dll) Version: 1.1.0.0 (1.1.0.0)
  CodeJam.PerfTests.NUnit (in CodeJam.PerfTests.NUnit.dll) Version: 1.1.0.0 (1.1.0.0)
  CodeJam.PerfTests.xUnit (in CodeJam.PerfTests.xUnit.dll) Version: 1.1.0.0 (1.1.0.0)

Syntax

C#

public static void Run(
	Type benchmarkType,
	ICompetitionConfig competitionConfig = null
)

VB

Public Shared Sub Run ( 
	benchmarkType As Type,
	Optional competitionConfig As ICompetitionConfig = Nothing
)

F#

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

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.

See Also

Reference

Competition Class
Run Overload
CodeJam.PerfTests Namespace

Clone this wiki locally