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
- Read algorithm.
- Run the algorithm.
Things to be added/fixed in "Benchmarking by tasks":
- 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
| Improve this Doc View SourceBenchmark(TextReader)
Declaration
public Benchmark(TextReader algReader)
Parameters
Type | Name | Description |
---|---|---|
Text |
algReader |
Properties
| Improve this Doc View SourceAlgorithm
Returns the algorithm.
Declaration
public virtual Algorithm Algorithm { get; }
Property Value
Type | Description |
---|---|
Algorithm |
RunData
Returns the runData.
Declaration
public virtual PerfRunData RunData { get; }
Property Value
Type | Description |
---|---|
Perf |
Methods
| Improve this Doc View SourceExec(String[])
Utility: execute benchmark from command line.
Declaration
public static void Exec(string[] args)
Parameters
Type | Name | Description |
---|---|---|
System. |
args | Single argument is expected: algorithm-file. |
Execute()
Execute this benchmark.
Declaration
public virtual void Execute()
Main(String[])
Run the benchmark algorithm.
Declaration
public static void Main(string[] args)
Parameters
Type | Name | Description |
---|---|---|
System. |
args | Benchmark config and algorithm files. |