C# Class NBench.Reporting.Targets.ActionBenchmarkOutput

An IBenchmarkOutput designed to run BenchmarkAssertions against the data we collect on each run and in the final benchmark.
Inheritance: IBenchmarkOutput
Afficher le fichier Open project: petabridge/NBench Class Usage Examples

Méthodes publiques

Свойство Type Description
DefaultBenchmarkResultsAction Action
DefaultRunAction bool>.Action
DefaultWriteLineAction Action

Méthodes publiques

Méthode Description
ActionBenchmarkOutput ( bool>.Action runAction = null, Action benchmarkAction = null, Action writeLineAction = null ) : System
ActionBenchmarkOutput ( Action runAction, Action benchmarkAction ) : System
Error ( Exception ex, string message ) : void
Error ( string message ) : void
FinishBenchmark ( string benchmarkName ) : void
SkipBenchmark ( string benchmarkName ) : void
StartBenchmark ( string benchmarkName ) : void
Warning ( string message ) : void
WriteBenchmark ( BenchmarkFinalResults results ) : void
WriteLine ( string message ) : void
WriteRun ( BenchmarkRunReport report, bool isWarmup = false ) : void

Method Details

ActionBenchmarkOutput() public méthode

public ActionBenchmarkOutput ( bool>.Action runAction = null, Action benchmarkAction = null, Action writeLineAction = null ) : System
runAction bool>.Action
benchmarkAction Action
writeLineAction Action
Résultat System

ActionBenchmarkOutput() public méthode

public ActionBenchmarkOutput ( Action runAction, Action benchmarkAction ) : System
runAction Action
benchmarkAction Action
Résultat System

Error() public méthode

public Error ( Exception ex, string message ) : void
ex System.Exception
message string
Résultat void

Error() public méthode

public Error ( string message ) : void
message string
Résultat void

FinishBenchmark() public méthode

public FinishBenchmark ( string benchmarkName ) : void
benchmarkName string
Résultat void

SkipBenchmark() public méthode

public SkipBenchmark ( string benchmarkName ) : void
benchmarkName string
Résultat void

StartBenchmark() public méthode

public StartBenchmark ( string benchmarkName ) : void
benchmarkName string
Résultat void

Warning() public méthode

public Warning ( string message ) : void
message string
Résultat void

WriteBenchmark() public méthode

public WriteBenchmark ( BenchmarkFinalResults results ) : void
results BenchmarkFinalResults
Résultat void

WriteLine() public méthode

public WriteLine ( string message ) : void
message string
Résultat void

WriteRun() public méthode

public WriteRun ( BenchmarkRunReport report, bool isWarmup = false ) : void
report BenchmarkRunReport
isWarmup bool
Résultat void

Property Details

DefaultBenchmarkResultsAction public_oe static_oe property

public static Action DefaultBenchmarkResultsAction
Résultat Action

DefaultRunAction public_oe static_oe property

public static Action DefaultRunAction
Résultat bool>.Action

DefaultWriteLineAction public_oe static_oe property

public static Action DefaultWriteLineAction
Résultat Action