Class Benchmark
Run the benchmark algorithm.
Inherited Members
Namespace: Lucene.Net.Benchmarks.ByTask
Assembly: Lucene.Net.Benchmark.dll
Syntax
public class Benchmark
Remarks
- Read algorithm.
- Run the algorithm.
- TODO - report into Excel and/or graphed view.
- TODO - perf comparison between Lucene releases over the years.
- TODO - perf report adequate to include in Lucene nightly build site? (so we can easily track performance changes.)
- TODO - add overall time control for repeated execution (vs. current by-count only).
- TODO - query maker that is based on index statistics.
Constructors
Benchmark(TextReader)
Run the benchmark algorithm.
Declaration
public Benchmark(TextReader algReader)
Parameters
Type | Name | Description |
---|---|---|
TextReader | algReader |
Remarks
- Read algorithm.
- Run the algorithm.
- TODO - report into Excel and/or graphed view.
- TODO - perf comparison between Lucene releases over the years.
- TODO - perf report adequate to include in Lucene nightly build site? (so we can easily track performance changes.)
- TODO - add overall time control for repeated execution (vs. current by-count only).
- TODO - query maker that is based on index statistics.
Properties
Algorithm
Returns the algorithm.
Declaration
public virtual Algorithm Algorithm { get; }
Property Value
Type | Description |
---|---|
Algorithm |
Remarks
- Read algorithm.
- Run the algorithm.
- TODO - report into Excel and/or graphed view.
- TODO - perf comparison between Lucene releases over the years.
- TODO - perf report adequate to include in Lucene nightly build site? (so we can easily track performance changes.)
- TODO - add overall time control for repeated execution (vs. current by-count only).
- TODO - query maker that is based on index statistics.
RunData
Returns the runData.
Declaration
public virtual PerfRunData RunData { get; }
Property Value
Type | Description |
---|---|
PerfRunData |
Remarks
- Read algorithm.
- Run the algorithm.
- TODO - report into Excel and/or graphed view.
- TODO - perf comparison between Lucene releases over the years.
- TODO - perf report adequate to include in Lucene nightly build site? (so we can easily track performance changes.)
- TODO - add overall time control for repeated execution (vs. current by-count only).
- TODO - query maker that is based on index statistics.
Methods
Exec(string[])
Utility: execute benchmark from command line.
Declaration
public static void Exec(string[] args)
Parameters
Type | Name | Description |
---|---|---|
string[] | args | Single argument is expected: algorithm-file. |
Remarks
- Read algorithm.
- Run the algorithm.
- TODO - report into Excel and/or graphed view.
- TODO - perf comparison between Lucene releases over the years.
- TODO - perf report adequate to include in Lucene nightly build site? (so we can easily track performance changes.)
- TODO - add overall time control for repeated execution (vs. current by-count only).
- TODO - query maker that is based on index statistics.
Execute()
Execute this benchmark.
Declaration
public virtual void Execute()
Remarks
- Read algorithm.
- Run the algorithm.
- TODO - report into Excel and/or graphed view.
- TODO - perf comparison between Lucene releases over the years.
- TODO - perf report adequate to include in Lucene nightly build site? (so we can easily track performance changes.)
- TODO - add overall time control for repeated execution (vs. current by-count only).
- TODO - query maker that is based on index statistics.
Main(string[])
Run the benchmark algorithm.
LUCENENET specific: In the Java implementation, this Main method was intended to be called from the command line. However, in .NET a method within a DLL can't be directly called from the command line so we provide a .NET tool, lucene-cli, with a command that maps to this method: benchmarkDeclaration
public static void Main(string[] args)
Parameters
Type | Name | Description |
---|---|---|
string[] | args | Benchmark config and algorithm files. |
Remarks
- Read algorithm.
- Run the algorithm.
- TODO - report into Excel and/or graphed view.
- TODO - perf comparison between Lucene releases over the years.
- TODO - perf report adequate to include in Lucene nightly build site? (so we can easily track performance changes.)
- TODO - add overall time control for repeated execution (vs. current by-count only).
- TODO - query maker that is based on index statistics.