Skip to content

M_CodeJam_PerfTests_Running_Core_CompetitionRunnerBase_Run

andrewvk edited this page Nov 8, 2016 · 2 revisions

CompetitionRunnerBase.Run Method (Assembly, ICompetitionConfig)

Runs all benchmarks defined in the assembly.

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

Syntax

C#

public IReadOnlyDictionary<Type, CompetitionState> Run(
	Assembly assembly,
	ICompetitionConfig competitionConfig = null
)

VB

Public Function Run ( 
	assembly As Assembly,
	Optional competitionConfig As ICompetitionConfig = Nothing
) As IReadOnlyDictionary(Of Type, CompetitionState)

F#

member Run : 
        assembly : Assembly * 
        ?competitionConfig : ICompetitionConfig 
(* Defaults:
        let _competitionConfig = defaultArg competitionConfig null
*)
-> IReadOnlyDictionary<Type, CompetitionState> 

Parameters

 

assembly
Type: System.Reflection.Assembly
Assembly with benchmarks to run.
competitionConfig (Optional)
Type: CodeJam.PerfTests.Configs.ICompetitionConfig
The competition config. Ifnull config from CompetitionConfigAttribute will be used.

Return Value

Type: IReadOnlyDictionary(Type, CompetitionState)
The state of the competition for each benchmark that was run.

See Also

Reference

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

Clone this wiki locally