C# 클래스 NBench.Reporting.Targets.ActionBenchmarkOutput

An IBenchmarkOutput designed to run BenchmarkAssertions against the data we collect on each run and in the final benchmark.
상속: IBenchmarkOutput
파일 보기 프로젝트 열기: petabridge/NBench 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
DefaultBenchmarkResultsAction Action
DefaultRunAction bool>.Action
DefaultWriteLineAction Action

공개 메소드들

메소드 설명
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

메소드 상세

ActionBenchmarkOutput() 공개 메소드

public ActionBenchmarkOutput ( bool>.Action runAction = null, Action benchmarkAction = null, Action writeLineAction = null ) : System
runAction bool>.Action
benchmarkAction Action
writeLineAction Action
리턴 System

ActionBenchmarkOutput() 공개 메소드

public ActionBenchmarkOutput ( Action runAction, Action benchmarkAction ) : System
runAction Action
benchmarkAction Action
리턴 System

Error() 공개 메소드

public Error ( Exception ex, string message ) : void
ex System.Exception
message string
리턴 void

Error() 공개 메소드

public Error ( string message ) : void
message string
리턴 void

FinishBenchmark() 공개 메소드

public FinishBenchmark ( string benchmarkName ) : void
benchmarkName string
리턴 void

SkipBenchmark() 공개 메소드

public SkipBenchmark ( string benchmarkName ) : void
benchmarkName string
리턴 void

StartBenchmark() 공개 메소드

public StartBenchmark ( string benchmarkName ) : void
benchmarkName string
리턴 void

Warning() 공개 메소드

public Warning ( string message ) : void
message string
리턴 void

WriteBenchmark() 공개 메소드

public WriteBenchmark ( BenchmarkFinalResults results ) : void
results BenchmarkFinalResults
리턴 void

WriteLine() 공개 메소드

public WriteLine ( string message ) : void
message string
리턴 void

WriteRun() 공개 메소드

public WriteRun ( BenchmarkRunReport report, bool isWarmup = false ) : void
report BenchmarkRunReport
isWarmup bool
리턴 void

프로퍼티 상세

DefaultBenchmarkResultsAction 공개적으로 정적으로 프로퍼티

public static Action DefaultBenchmarkResultsAction
리턴 Action

DefaultRunAction 공개적으로 정적으로 프로퍼티

public static Action DefaultRunAction
리턴 bool>.Action

DefaultWriteLineAction 공개적으로 정적으로 프로퍼티

public static Action DefaultWriteLineAction
리턴 Action