MySQL 5.6.14 Source Code Document
|
Public Member Functions | |
Driver () | |
void | run () |
Static Public Member Functions | |
static void | parseArguments (String[] args) |
Protected Member Functions | |
void | init () throws Exception |
void | close () throws Exception |
boolean | parseBoolean (String k, boolean vdefault) |
int | parseInt (String k, int vdefault) |
void | initProperties () |
void | printProperties () |
void | writeProperties (String fileName) |
abstract void | runTests () throws Exception |
void | clearLogBuffers () |
void | writeLogBuffers (String descr) |
void | begin (String name) |
void | finish (String name) |
Static Protected Member Functions | |
static void | exitUsage () |
static void | loadSystemLibrary (String name) |
Protected Attributes | |
final Properties | props = new Properties() |
boolean | logRealTime |
boolean | logMemUsage |
boolean | includeFullGC |
int | nRuns |
PrintWriter | log |
String | descr = "" |
boolean | logHeader |
StringBuilder | header |
StringBuilder | rtimes |
StringBuilder | musage |
long | t0 = 0 |
long | m0 = 0 |
Static Protected Attributes | |
static final PrintWriter | out = new PrintWriter(System.out, true) |
static final PrintWriter | err = new PrintWriter(System.err, true) |
static final String | endl = System.getProperty("line.separator") |
static final Runtime | rt = Runtime.getRuntime() |
This class benchmarks standard database operations over a series of transactions on an increasing data set.
The abstract database operations are variations of: Create, Read, Update, Navigate, and Delete – hence, the benchmark's name: CRUND.
The actual operations are defined by subclasses to allow measuring the operation performance across different datastore implementations.
Definition at line 58 of file Driver.java.
|
inline |
Creates an instance.
Definition at line 142 of file Driver.java.
|
inlinestaticprotected |
Prints a command-line usage message and exits.
Definition at line 96 of file Driver.java.
|
inlinestatic |
Parses the benchmark's command-line arguments.
Definition at line 108 of file Driver.java.
|
inline |
Runs the benchmark.
Definition at line 147 of file Driver.java.