Свойство | Тип | Описание | |
---|---|---|---|
BenchmarkContextType | |||
MeasurementAttributeType | |||
MeasurementConfiguratorType | |||
PerformanceBenchmarkAttributeType |
Метод | Описание | |
---|---|---|
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 |
Метод | Описание | |
---|---|---|
GetConfiguratorInterfaces ( |
||
MethodHasValidBenchmark ( |
||
SupportsType ( |
||
ValidateTypeIsMeasurementAttribute ( |
public static ClassesWithPerformanceBenchmarks ( |
||
targetAssembly | The assembly we're scanning for benchmarks. | |
Результат | IReadOnlyList |
public static ConfiguratorSupportsMeasurement ( |
||
measurementType | A |
|
expectedConfiguratorType | A |
|
exact | bool |
/// If |
Результат | bool |
public static CreateBenchmarksForClass ( |
||
classWithBenchmarks | ||
Результат | IReadOnlyList |
public static CreateBenchmarksForClass ( |
||
classWithBenchmarks | ||
Результат | IReadOnlyList |
public static CreateInvokerForBenchmark ( |
||
benchmarkClass | ||
Результат | IBenchmarkInvoker |
public CreateSettingsForBenchmark ( |
||
benchmarkClass | ||
Результат | BenchmarkSettings |
public FindBenchmarks ( |
||
targetAssembly | ||
Результат | IEnumerable |
public FindBenchmarks ( |
||
targetType | ||
Результат | IEnumerable |
public static FindBestMatchingConfiguratorForMeasurement ( |
||
measurementType | ||
knownConfigurators | IEnumerable |
|
Результат |
public static GetCleanupMethod ( |
||
classWithBenchmarks | ||
Результат |
public GetConfiguratorForMeasurement ( |
||
measurementType | A type of |
|
specificAssembly |
/// Optional parameter. If an |
|
Результат | IMeasurementConfigurator |
public GetConfiguratorTypeForMeasurement ( |
||
measurementType | A type of |
|
specificAssembly |
/// Optional parameter. If an |
|
Результат |
public static GetSetupMethod ( |
||
classWithBenchmarks | ||
Результат |
public static IsTypeInvalidForBenchmarks ( |
||
info | ||
Результат | bool |
public static IsValidConfiguratorType ( |
||
configuratorType | The |
|
Результат | bool |
public static LoadAllTypeConfigurators ( ) : IEnumerable |
||
Результат | IEnumerable |
public static MethodTakesBenchmarkContext ( |
||
info | ||
Результат | bool |
public ReflectionDiscovery ( IBenchmarkOutput output ) : System | ||
output | IBenchmarkOutput | |
Результат | System |
public ReflectionDiscovery ( IBenchmarkOutput output, IBenchmarkAssertionRunner benchmarkAssertions, RunnerSettings settings ) : System | ||
output | IBenchmarkOutput | |
benchmarkAssertions | IBenchmarkAssertionRunner | |
settings | RunnerSettings | |
Результат | System |
public static Type,System BenchmarkContextType | ||
Результат |
public static Type,System MeasurementAttributeType | ||
Результат |
public static Type,System MeasurementConfiguratorType | ||
Результат |