Class ConsoleBenchmarkOutput
Output writer to the console for NBench
Inheritance
System.Object
ConsoleBenchmarkOutput
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: NBench.Reporting.Targets
Assembly: NBench.dll
Syntax
public class ConsoleBenchmarkOutput : IBenchmarkOutput
Methods
Error(Exception, String)
Declaration
public void Error(Exception ex, string message)
Parameters
Type | Name | Description |
---|---|---|
System.Exception | ex | |
System.String | message |
Error(String)
Declaration
public void Error(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message |
FinishBenchmark(String)
Declaration
public void FinishBenchmark(string benchmarkName)
Parameters
Type | Name | Description |
---|---|---|
System.String | benchmarkName |
SkipBenchmark(String)
Declaration
public void SkipBenchmark(string benchmarkName)
Parameters
Type | Name | Description |
---|---|---|
System.String | benchmarkName |
StartBenchmark(String)
Declaration
public void StartBenchmark(string benchmarkName)
Parameters
Type | Name | Description |
---|---|---|
System.String | benchmarkName |
Warning(String)
Declaration
public void Warning(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message |
WriteBenchmark(BenchmarkFinalResults)
Declaration
public void WriteBenchmark(BenchmarkFinalResults results)
Parameters
Type | Name | Description |
---|---|---|
BenchmarkFinalResults | results |
WriteLine(String)
Declaration
public void WriteLine(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message |
WriteRun(BenchmarkRunReport, Boolean)
Declaration
public void WriteRun(BenchmarkRunReport report, bool isWarmup = false)
Parameters
Type | Name | Description |
---|---|---|
BenchmarkRunReport | report | |
System.Boolean | isWarmup |