Class RepSumByNameTask
Report all statistics aggregated by name.
Other side effects: None.Implements
Inherited Members
Namespace: Lucene.Net.Benchmarks.ByTask.Tasks
Assembly: Lucene.Net.Benchmark.dll
Syntax
public class RepSumByNameTask : ReportTask, IDisposable
Constructors
RepSumByNameTask(PerfRunData)
Report all statistics aggregated by name.
Other side effects: None.Declaration
public RepSumByNameTask(PerfRunData runData)
Parameters
Type | Name | Description |
---|---|---|
PerfRunData | runData |
Methods
DoLogic()
Perform the task once (ignoring repetitions specification). Return number of work items done by this task. For indexing that can be number of docs added. For warming that can be number of scanned items, etc.
Declaration
public override int DoLogic()
Returns
Type | Description |
---|---|
int | Number of work items done by this task. |
Overrides
ReportSumByName(IList<TaskStats>)
Report statistics as a string, aggregate for tasks named the same.
Declaration
protected virtual Report ReportSumByName(IList<TaskStats> taskStats)
Parameters
Type | Name | Description |
---|---|---|
IList<TaskStats> | taskStats |
Returns
Type | Description |
---|---|
Report | The report. |