Package Ganga :: Package Core :: Package JobRepository :: Module PerformanceTest
[hide private]
[frames] | no frames]

Module PerformanceTest

source code

Functions [hide private]
 
getmem()
Gives memory used by the calling process in kb
source code
 
writerep(n, m, bunch= 100) --> (memory increase in kb, creation time)
register n bunches of GPIDev jobs; each bunch contains 'bunch' jobs; each job has name of 'm' characters
source code
 
_writerep(n, m, bunch=100) source code
 
readrep(bunch= 100) --> (memory increase in kb, retrieval time)
checkout all jobs in the repository as GPIDev objects by bunches; each bunch contains no more than 'bunch' jobs
source code
 
_readrep(bunch=100) source code
 
readallrep()
readallrep() --> (memory increase in kb, retrieval time) checkout all jobs in the repository as GPIDev objects.
source code
 
_readallrep() source code
 
delrep(bunch= 100) --> (memory increase in kb, delete time=100)
delete n*bunch jobs in the repository by bunches; each bunch contains no more than 'bunch' jobs
source code
 
_delrep(n, bunch=100) source code
 
_startText(ff, txt) source code
 
_endText(ff, t1) source code
 
getSplitJob(LEN=10) source code
 
registerJobs(jobList, repository) source code
 
runTest(NTEST, LEN, rootDir, output_dir, rep_type) source code
 
NormPath(path) source code
Variables [hide private]
  _thisDir = os.getcwd()
  _root = os.path.dirname(os.path.dirname(os.path.dirname(_thisD...
  DEBUG = True
  ARG_LEN = 100
Variables Details [hide private]

_root

Value:
os.path.dirname(os.path.dirname(os.path.dirname(_thisDir)))