Property | Type | Description | |
---|---|---|---|
BenchmarkContextType | |||
MeasurementAttributeType | |||
MeasurementConfiguratorType | |||
PerformanceBenchmarkAttributeType |
Method | Description | |
---|---|---|
ClassesWithPerformanceBenchmarks ( |
Finds all classes with at least one method decorated with a PerfBenchmarkAttribute. inside targetAssembly.
|
|
ConfiguratorSupportsMeasurement ( |
Determine if a given IMeasurementConfigurator type is a match for a MeasurementAttribute type.
|
|
CreateBenchmarksForClass ( |
||
CreateBenchmarksForClass ( |
||
CreateInvokerForBenchmark ( |
||
CreateSettingsForBenchmark ( |
||
FindBenchmarks ( |
||
FindBenchmarks ( |
||
FindBestMatchingConfiguratorForMeasurement ( |
||
GetCleanupMethod ( |
||
GetConfiguratorForMeasurement ( |
Creates a IMeasurementConfigurator instance for the provided MeasurementAttribute type.
|
|
GetConfiguratorTypeForMeasurement ( |
Finds a matching IMeasurementConfigurator{T} type for a given type of MeasurementAttribute
|
|
GetSetupMethod ( |
||
IsTypeInvalidForBenchmarks ( |
||
IsValidConfiguratorType ( |
Check if a given configuratorType is a valid implementation of IMeasurementConfigurator{T}.
|
|
LoadAllTypeConfigurators ( ) : IEnumerable |
||
MethodTakesBenchmarkContext ( |
||
ReflectionDiscovery ( IBenchmarkOutput output ) : System | ||
ReflectionDiscovery ( IBenchmarkOutput output, IBenchmarkAssertionRunner benchmarkAssertions, RunnerSettings settings ) : System |
Method | Description | |
---|---|---|
GetConfiguratorInterfaces ( |
||
MethodHasValidBenchmark ( |
||
SupportsType ( |
||
ValidateTypeIsMeasurementAttribute ( |
public static ClassesWithPerformanceBenchmarks ( |
||
targetAssembly | The assembly we're scanning for benchmarks. | |
return | IReadOnlyList |
public static ConfiguratorSupportsMeasurement ( |
||
measurementType | A |
|
expectedConfiguratorType | A |
|
exact | bool |
/// If |
return | bool |
public static CreateBenchmarksForClass ( |
||
classWithBenchmarks | ||
return | IReadOnlyList |
public static CreateBenchmarksForClass ( |
||
classWithBenchmarks | ||
return | IReadOnlyList |
public static CreateInvokerForBenchmark ( |
||
benchmarkClass | ||
return | IBenchmarkInvoker |
public CreateSettingsForBenchmark ( |
||
benchmarkClass | ||
return | BenchmarkSettings |
public FindBenchmarks ( |
||
targetAssembly | ||
return | IEnumerable |
public FindBenchmarks ( |
||
targetType | ||
return | IEnumerable |
public static FindBestMatchingConfiguratorForMeasurement ( |
||
measurementType | ||
knownConfigurators | IEnumerable |
|
return |
public static GetCleanupMethod ( |
||
classWithBenchmarks | ||
return |
public GetConfiguratorForMeasurement ( |
||
measurementType | A type of |
|
specificAssembly |
/// Optional parameter. If an |
|
return | IMeasurementConfigurator |
public GetConfiguratorTypeForMeasurement ( |
||
measurementType | A type of |
|
specificAssembly |
/// Optional parameter. If an |
|
return |
public static GetSetupMethod ( |
||
classWithBenchmarks | ||
return |
public static IsTypeInvalidForBenchmarks ( |
||
info | ||
return | bool |
public static IsValidConfiguratorType ( |
||
configuratorType | The |
|
return | bool |
public static LoadAllTypeConfigurators ( ) : IEnumerable |
||
return | IEnumerable |
public static MethodTakesBenchmarkContext ( |
||
info | ||
return | bool |
public ReflectionDiscovery ( IBenchmarkOutput output ) : System | ||
output | IBenchmarkOutput | |
return | System |
public ReflectionDiscovery ( IBenchmarkOutput output, IBenchmarkAssertionRunner benchmarkAssertions, RunnerSettings settings ) : System | ||
output | IBenchmarkOutput | |
benchmarkAssertions | IBenchmarkAssertionRunner | |
settings | RunnerSettings | |
return | System |
public static Type,System BenchmarkContextType | ||
return |
public static Type,System MeasurementAttributeType | ||
return |
public static Type,System MeasurementConfiguratorType | ||
return |