public class Benchmark
extends java.lang.Object
Usage: java Benchmark algorithm-file
Constructor and Description |
---|
Benchmark(java.io.Reader algReader) |
Modifier and Type | Method and Description |
---|---|
static void |
exec(java.lang.String[] args)
Utility: execute benchmark from command line
|
void |
execute()
Execute this benchmark
|
Algorithm |
getAlgorithm() |
PerfRunData |
getRunData() |
static void |
main(java.lang.String[] args)
Run the benchmark algorithm.
|
public Benchmark(java.io.Reader algReader) throws java.lang.Exception
java.lang.Exception
public void execute() throws java.lang.Exception
java.lang.Exception
public static void main(java.lang.String[] args)
args
- benchmark config and algorithm filespublic static void exec(java.lang.String[] args)
args
- single argument is expected: algorithm-filepublic Algorithm getAlgorithm()
public PerfRunData getRunData()
Copyright © 2000–2019 The Apache Software Foundation. All rights reserved.