Show / Hide Table of Contents

    Class Benchmark

    Run the benchmark algorithm.

    Inheritance
    System.Object
    Benchmark
    Namespace: Lucene.Net.Benchmarks.ByTask
    Assembly: Lucene.Net.Benchmark.dll
    Syntax
    public class Benchmark : object
    Remarks
    1. Read algorithm.
    2. Run the algorithm.

    Things to be added/fixed in "Benchmarking by tasks":

    1. TODO - report into Excel and/or graphed view.
    2. TODO - perf comparison between Lucene releases over the years.
    3. TODO - perf report adequate to include in Lucene nightly build site? (so we can easily track performance changes.)
    4. TODO - add overall time control for repeated execution (vs. current by-count only).
    5. TODO - query maker that is based on index statistics.

    Constructors

    | Improve this Doc View Source

    Benchmark(TextReader)

    Declaration
    public Benchmark(TextReader algReader)
    Parameters
    Type Name Description
    TextReader algReader

    Properties

    | Improve this Doc View Source

    Algorithm

    Returns the algorithm.

    Declaration
    public virtual Algorithm Algorithm { get; }
    Property Value
    Type Description
    Algorithm
    | Improve this Doc View Source

    RunData

    Returns the runData.

    Declaration
    public virtual PerfRunData RunData { get; }
    Property Value
    Type Description
    PerfRunData

    Methods

    | Improve this Doc View Source

    Exec(String[])

    Utility: execute benchmark from command line.

    Declaration
    public static void Exec(string[] args)
    Parameters
    Type Name Description
    System.String[] args

    Single argument is expected: algorithm-file.

    | Improve this Doc View Source

    Execute()

    Execute this benchmark.

    Declaration
    public virtual void Execute()
    | Improve this Doc View Source

    Main(String[])

    Run the benchmark algorithm.

    Declaration
    public static void Main(string[] args)
    Parameters
    Type Name Description
    System.String[] args

    Benchmark config and algorithm files.

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