TestimoX

API Reference

Class

BenchmarkExecutionTargetResolver

Namespace TestimoX.Benchmarks.Execution
Assembly TestimoX
Modifiers sealed

Builds consistent execution contexts for Windows and workload-specific benchmark targets.

Inheritance

  • Object
  • BenchmarkExecutionTargetResolver

Constructors

public BenchmarkExecutionTargetResolver(BenchmarkProviderRegistry providers = null) #

Initializes the resolver over the built-in or supplied provider registry.

Parameters

providers TestimoX.Benchmarks.Providers.BenchmarkProviderRegistry = null optionalposition: 0

Methods

Resolve 2 overloads
public BenchmarkExecutionTargetContext Resolve(BenchmarkTarget target, Boolean collectInstalledFeatures = false, IEnumerable<BenchmarkWorkloadRole> declaredWorkloads = null) #
Returns: BenchmarkExecutionTargetContext

Discovers product facts and collects host facts for one typed target.

Parameters

target TestimoX.Benchmarks.Targets.BenchmarkTarget requiredposition: 0
collectInstalledFeatures System.Boolean = false optionalposition: 1
declaredWorkloads System.Collections.Generic.IEnumerable{TestimoX.Benchmarks.BenchmarkWorkloadRole} = null optionalposition: 2
public BenchmarkExecutionTargetContext Resolve(BenchmarkTarget target, BenchmarkPack pack, BenchmarkSelection selection, IEnumerable<BenchmarkWorkloadRole> declaredWorkloads = null) #
Returns: BenchmarkExecutionTargetContext

Discovers one target and collects every host fact required by the exact benchmark selection.

Parameters

target TestimoX.Benchmarks.Targets.BenchmarkTarget requiredposition: 0
Typed resource to resolve.
pack TestimoX.Benchmarks.BenchmarkPack requiredposition: 1
Benchmark pack that owns the selection.
selection TestimoX.Benchmarks.Execution.BenchmarkSelection requiredposition: 2
Exact benchmark selection being assessed or changed.
declaredWorkloads System.Collections.Generic.IEnumerable{TestimoX.Benchmarks.BenchmarkWorkloadRole} = null optionalposition: 3
Optional authoritative workload declarations from discovery or the operator.

Properties

public BenchmarkProviderRegistry Providers { get; } #

Gets the provider registry that must also be used by assessment and transaction engines.