Class ReportTask
Report (abstract) task - all report tasks extend this task.
Inheritance
System.Object
    
    ReportTask
      
      
      
      
  Implements
System.IDisposable
  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)
    
  Namespace: Lucene.Net.Benchmarks.ByTask.Tasks
Assembly: Lucene.Net.Benchmark.dll
Syntax
public abstract class ReportTask : PerfTask, IDisposable
  Constructors
| Improve this Doc View SourceReportTask(PerfRunData)
Declaration
public ReportTask(PerfRunData runData)
  Parameters
| Type | Name | Description | 
|---|---|---|
| PerfRunData | runData | 
Fields
| Improve this Doc View SourceCOLS
Declaration
protected static readonly string[] COLS
  Field Value
| Type | Description | 
|---|---|
| System.String[] | 
ELAPSED
Declaration
protected static readonly string ELAPSED
  Field Value
| Type | Description | 
|---|---|
| System.String | 
newline
From here start the code used to generate the reports. Subclasses would use this part to generate reports.
Declaration
protected static readonly string newline
  Field Value
| Type | Description | 
|---|---|
| System.String | 
OP
Get a textual summary of the benchmark results, average from all test runs.
Declaration
protected static readonly string OP
  Field Value
| Type | Description | 
|---|---|
| System.String | 
RECCNT
Declaration
protected static readonly string RECCNT
  Field Value
| Type | Description | 
|---|---|
| System.String | 
RECSEC
Declaration
protected static readonly string RECSEC
  Field Value
| Type | Description | 
|---|---|
| System.String | 
ROUND
Declaration
protected static readonly string ROUND
  Field Value
| Type | Description | 
|---|---|
| System.String | 
RUNCNT
Declaration
protected static readonly string RUNCNT
  Field Value
| Type | Description | 
|---|---|
| System.String | 
TOTMEM
Declaration
protected static readonly string TOTMEM
  Field Value
| Type | Description | 
|---|---|
| System.String | 
USEDMEM
Declaration
protected static readonly string USEDMEM
  Field Value
| Type | Description | 
|---|---|
| System.String | 
Properties
| Improve this Doc View SourceShouldNeverLogAtStart
Declaration
protected override bool ShouldNeverLogAtStart { get; }
  Property Value
| Type | Description | 
|---|---|
| System.Boolean | 
Overrides
See Also
| Improve this Doc View SourceShouldNotRecordStats
Declaration
protected override bool ShouldNotRecordStats { get; }
  Property Value
| Type | Description | 
|---|---|
| System.Boolean | 
Overrides
See Also
Methods
| Improve this Doc View SourceGenPartialReport(Int32, LinkedDictionary<String, TaskStats>, Int32)
Declaration
protected virtual Report GenPartialReport(int reported, LinkedDictionary<string, TaskStats> partOfTasks, int totalSize)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Int32 | reported | |
| J2N.Collections.Generic.LinkedDictionary<System.String, TaskStats> | partOfTasks | |
| System.Int32 | totalSize | 
Returns
| Type | Description | 
|---|---|
| Report | 
LongestOp(IEnumerable<TaskStats>)
Find the longest op name out of completed tasks.
Declaration
protected virtual string LongestOp(IEnumerable<TaskStats> taskStats)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Collections.Generic.IEnumerable<TaskStats> | taskStats | Completed tasks to be considered.  | 
      
Returns
| Type | Description | 
|---|---|
| System.String | The longest op name out of completed tasks.  | 
      
TableTitle(String)
Compute a title line for a report table.
Declaration
protected virtual string TableTitle(string longestOp)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | longestOp | Size of longest op name in the table.  | 
      
Returns
| Type | Description | 
|---|---|
| System.String | The table title line.  | 
      
TaskReportLine(String, TaskStats)
Compute a report line for the given task stat.
Declaration
protected virtual string TaskReportLine(string longestOp, TaskStats stat)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | longestOp | Size of longest op name in the table.  | 
      
| TaskStats | stat | Task stat to be printed.  | 
      
Returns
| Type | Description | 
|---|---|
| System.String | The report line.  | 
      
Implements
      System.IDisposable