Protected Member Functions |
void | init () throws Exception |
void | close () throws Exception |
void | initProperties () |
void | printProperties () |
abstract void | initOperations () throws Exception |
abstract void | closeOperations () throws Exception |
void | runTests () throws Exception |
void | runLoads () throws Exception |
void | runLoad () throws Exception |
void | runSeries (int nOps) throws Exception |
void | runLoad (int nOps) throws Exception |
void | runSequence (int nOps) throws Exception |
void | runOperation (Op op, int nOps) throws Exception |
void | appendError (String where) |
void | reportErrors () |
final void | verify (String where, int exp, int act) |
void | initConnections () throws Exception |
void | closeConnections () throws Exception |
abstract void | initLoad () throws Exception |
abstract void | closeLoad () throws Exception |
abstract void | initConnection () throws Exception |
abstract void | closeConnection () throws Exception |
abstract void | clearPersistenceContext () throws Exception |
abstract void | clearData () throws Exception |
boolean | parseBoolean (String k, boolean vdefault) |
int | parseInt (String k, int vdefault) |
void | writeProperties (String fileName) |
void | clearLogBuffers () |
void | writeLogBuffers (String descr) |
void | begin (String name) |
void | finish (String name) |
Static Protected Attributes |
static final String | string1 = myString(1) |
static final String | string2 = myString(2) |
static final String | string3 = myString(3) |
static final String | string4 = myString(4) |
static final String | string5 = myString(5) |
static final String | string6 = myString(6) |
static final String | string7 = myString(7) |
static final byte[] | bytes1 = myBytes(string1) |
static final byte[] | bytes2 = myBytes(string2) |
static final byte[] | bytes3 = myBytes(string3) |
static final byte[] | bytes4 = myBytes(string4) |
static final byte[] | bytes5 = myBytes(string5) |
static final byte[] | bytes6 = myBytes(string6) |
static final byte[] | bytes7 = myBytes(string7) |
static final String[] | strings = { string1, string2, string3, string4, string5, string6, string7 } |
static final byte[][] | bytes = { bytes1, bytes2, bytes3, bytes4, bytes5, bytes6, bytes7 } |
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.
- See Also
- Urban Dictionary: crund
-
used to debase people who torture others with their illogical attempts to make people laugh;
-
reference to cracking obsolete jokes;
-
a dance form;
-
to hit hard or smash.
Definition at line 47 of file CrundDriver.java.