|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.lucene.benchmark.byTask.Benchmark
public class Benchmark
Run the benchmark algorithm.
Usage: java Benchmark algorithm-file
Constructor Summary | |
---|---|
Benchmark(Reader algReader)
|
Method Summary | |
---|---|
static void |
exec(String[] args)
Utility: execute benchmark from command line |
void |
execute()
Execute this benchmark |
Algorithm |
getAlgorithm()
|
PerfRunData |
getRunData()
|
static void |
main(String[] args)
Run the benchmark algorithm. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Benchmark(Reader algReader) throws Exception
Exception
Method Detail |
---|
public void execute() throws Exception
Exception
public static void main(String[] args)
args
- benchmark config and algorithm filespublic static void exec(String[] args)
args
- single argument is expected: algorithm-filepublic Algorithm getAlgorithm()
public PerfRunData getRunData()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |