Class ReportTask
Report (abstract) task - all report tasks extend this task.
Inheritance
System.Object
ReportTask
Assembly: Lucene.Net.Benchmark.dll
Syntax
public abstract class ReportTask : PerfTask
Constructors
|
Improve this Doc
View Source
ReportTask(PerfRunData)
Declaration
public ReportTask(PerfRunData runData)
Parameters
Fields
|
Improve this Doc
View Source
COLS
Declaration
protected static readonly string[] COLS
Field Value
| Type |
Description |
| System.String[] |
|
|
Improve this Doc
View Source
ELAPSED
Declaration
protected static readonly string ELAPSED
Field Value
| Type |
Description |
| System.String |
|
|
Improve this Doc
View Source
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 |
|
|
Improve this Doc
View Source
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 |
|
|
Improve this Doc
View Source
RECCNT
Declaration
protected static readonly string RECCNT
Field Value
| Type |
Description |
| System.String |
|
|
Improve this Doc
View Source
RECSEC
Declaration
protected static readonly string RECSEC
Field Value
| Type |
Description |
| System.String |
|
|
Improve this Doc
View Source
ROUND
Declaration
protected static readonly string ROUND
Field Value
| Type |
Description |
| System.String |
|
|
Improve this Doc
View Source
RUNCNT
Declaration
protected static readonly string RUNCNT
Field Value
| Type |
Description |
| System.String |
|
|
Improve this Doc
View Source
TOTMEM
Declaration
protected static readonly string TOTMEM
Field Value
| Type |
Description |
| System.String |
|
|
Improve this Doc
View Source
USEDMEM
Declaration
protected static readonly string USEDMEM
Field Value
| Type |
Description |
| System.String |
|
Properties
|
Improve this Doc
View Source
ShouldNeverLogAtStart
Declaration
protected override bool ShouldNeverLogAtStart { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
Overrides
See Also
|
Improve this Doc
View Source
ShouldNotRecordStats
Declaration
protected override bool ShouldNotRecordStats { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
Overrides
See Also
Methods
|
Improve this Doc
View Source
GenPartialReport(Int32, LinkedHashMap<String, TaskStats>, Int32)
Declaration
protected virtual Report GenPartialReport(int reported, LinkedHashMap<string, TaskStats> partOfTasks, int totalSize)
Parameters
| Type |
Name |
Description |
| System.Int32 |
reported |
|
| LinkedHashMap<System.String, TaskStats> |
partOfTasks |
|
| System.Int32 |
totalSize |
|
Returns
|
Improve this Doc
View Source
LongestOp(IEnumerable<TaskStats>)
Find the longest op name out of completed tasks.
Declaration
protected virtual string LongestOp(IEnumerable<TaskStats> taskStats)
Parameters
| Type |
Name |
Description |
| IEnumerable<TaskStats> |
taskStats |
Completed tasks to be considered.
|
Returns
| Type |
Description |
| System.String |
The longest op name out of completed tasks.
|
|
Improve this Doc
View Source
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.
|
|
Improve this Doc
View Source
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.
|