Performs a benchmark reading X values and overwriting them afterwards
inside a transaction. Provides convenience methods for the full read-x,
write-x benchmark implementations.
|
|
|
|
|
pre_init(self,
j=None)
Will be called before the benchmark starts with all possible
variations of "j" in the operation() call. |
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
|
|
|
|
|
|
|
|
|
cleanup(self)
Will be called before the end of the benchmark. |
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
|
|
|
|
|
|
|
|