|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Documented @Inherited @Retention(value=RUNTIME) @Target(value=TYPE) public @interface BenchmarkDriver
This annotation interface describes the parameters required when defining a benchmark driver.
Optional Element Summary | |
---|---|
String |
metric
The default metric is "ops/sec". |
String |
name
The driver's name, can be ignored for a single-driver benchmark. |
String |
opsUnit
Unit of operation, in plural. |
TimeUnit |
responseTimeUnit
The time unit used for reporting response times. |
int |
threadPerScale
The number of threads this driver should launch for each benchmark scale. |
public abstract String name
public abstract String metric
public abstract String opsUnit
public abstract int threadPerScale
public abstract TimeUnit responseTimeUnit
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |