Module scalaris_bench :: Class TransIncrementBench
[hide private]
[frames] | no frames]

type TransIncrementBench

source code

Known Subclasses:

Performs a benchmark writing integer numbers on a single key and increasing them. Provides convenience methods for the full increment benchmark implementations.

Instance Methods [hide private]
 
__init__(self, key, value, operations)
Create a new runnable.
source code
 
pre_init(self, j=None)
Will be called before the benchmark starts with all possible variations of "j" in the operation() call.
source code
 
operation2(self, tx, j) source code

Inherited from threading.Thread: __repr__, getName, isAlive, isDaemon, is_alive, join, setDaemon, setName, start

Inherited from threading.Thread (private): _reset_internal_locks, _set_daemon, _set_ident

Inherited from threading._Verbose (private): _note

    Inherited from BenchRunnable
 
_testBegin(self)
Call this method when a benchmark is started.
source code
 
_testEnd(self, testRuns)
Call this method when a benchmark is finished.
source code
 
cleanup(self)
Will be called before the end of the benchmark.
source code
 
getSpeed(self) source code
 
init(self)
Will be called at the start of the benchmark.
source code
 
operation(self, j)
The operation to execute during the benchmark.
source code
 
run(self)
Method representing the thread's activity.
source code
 
shouldStop(self) source code
Properties [hide private]

Inherited from threading.Thread: daemon, ident, name

Inherited from threading.Thread (private): _block

Method Details [hide private]

__init__(self, key, value, operations)
(Constructor)

source code 

Create a new runnable.

Overrides: threading._Verbose.__init__

pre_init(self, j=None)

source code 

Will be called before the benchmark starts with all possible variations of "j" in the operation() call. "j" with None is the overall initialisation run at first.

Overrides: BenchRunnable.pre_init
(inherited documentation)