-
Notifications
You must be signed in to change notification settings - Fork 36
M_CodeJam_PerfTests_Running_Console_ConsoleCompetition_Run_2
andrewvk edited this page Nov 8, 2016
·
2 revisions
Runs all benchmarks defined in the assembly.
Namespace: CodeJam.PerfTests.Running.Console
Assembly: CodeJam.PerfTests (in CodeJam.PerfTests.dll) Version: 1.1.0.0 (1.1.0.0)
C#
public static IReadOnlyDictionary<Type, CompetitionState> Run(
Type[] benchmarkTypes,
ICompetitionConfig competitionConfig = null
)
VB
Public Shared Function Run (
benchmarkTypes As Type(),
Optional competitionConfig As ICompetitionConfig = Nothing
) As IReadOnlyDictionary(Of Type, CompetitionState)
F#
static member Run :
benchmarkTypes : Type[] *
?competitionConfig : ICompetitionConfig
(* Defaults:
let _competitionConfig = defaultArg competitionConfig null
*)
-> IReadOnlyDictionary<Type, CompetitionState>
- benchmarkTypes
- Type: System.Type[]
Benchmark classes to run. - competitionConfig (Optional)
- Type: CodeJam.PerfTests.Configs.ICompetitionConfig
The competition config. Ifnull
config from CompetitionConfigAttribute will be used.
Type: IReadOnlyDictionary(Type, CompetitionState)
The state of the competition for each benchmark that was run.
ConsoleCompetition Class
Run Overload
CodeJam.PerfTests.Running.Console Namespace