Show / Hide Table of Contents

    Class ReportTask

    Report (abstract) task - all report tasks extend this task.

    Inheritance
    System.Object
    PerfTask
    ReportTask
    RepAllTask
    RepSumByNameRoundTask
    RepSumByNameTask
    RepSumByPrefTask
    Inherited Members
    PerfTask.m_logStep
    PerfTask.m_params
    PerfTask.NEW_LINE
    PerfTask.SetRunInBackground(Int32)
    PerfTask.RunInBackground
    PerfTask.BackgroundDeltaPriority
    PerfTask.Stop
    PerfTask.StopNow()
    PerfTask.Clone()
    PerfTask.Dispose()
    PerfTask.Dispose(Boolean)
    PerfTask.RunAndMaybeStats(Boolean)
    PerfTask.DoLogic()
    PerfTask.GetName()
    PerfTask.SetName(String)
    PerfTask.RunData
    PerfTask.Depth
    PerfTask.ToString()
    PerfTask.GetLogMessage(Int32)
    PerfTask.Setup()
    PerfTask.TearDown()
    PerfTask.SupportsParams
    PerfTask.SetParams(String)
    PerfTask.Params
    PerfTask.DisableCounting
    PerfTask.AlgLineNum
    Namespace: Lucene.Net.Benchmarks.ByTask.Tasks
    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
    Type Name Description
    PerfRunData runData

    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
    PerfTask.ShouldNeverLogAtStart
    See Also
    ShouldNeverLogAtStart
    | Improve this Doc View Source

    ShouldNotRecordStats

    Declaration
    protected override bool ShouldNotRecordStats { get; }
    Property Value
    Type Description
    System.Boolean
    Overrides
    PerfTask.ShouldNotRecordStats
    See Also
    ShouldNotRecordStats

    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
    Type Description
    Report
    | 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.

    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)