Go to the documentation of this file.00001
00002 import shutil
00003 import random
00004 import string
00005
00006 import regression_utility as tstutl
00007
00008 this="maclog_regression"
00009
00010
00011
00012 nrows=100000000
00013 nrows=1000
00014
00015 tstutl.note('*****************************************',"INFO",this)
00016 tstutl.note('******maclog regression test start ******',"INFO",this)
00017 for i in range(nrows):
00018 usage="i=%s random=%s" % (i, random.random())
00019 tstutl.note(usage, "INFO", this)
00020 tstutl.note('******maclog regression test finish******','INFO',this)
00021 tstutl.note('*****************************************','INFO',this)
00022 tstutl.note('casalogger, in a test done on 2009-10-29 ','INFO',this)
00023 tstutl.note('with nrows=100000000 on a mac machine ','INFO',this)
00024 tstutl.note('followed the logging to near 7,000,000 rows','INFO',this)
00025 tstutl.note('and quit when used 1.22G real memory and','INFO',this)
00026 tstutl.note('4G of virtual memory. It quit when it ','INFO',this)
00027 tstutl.note('could not allocate more memory. ','INFO',this)
00028 tstutl.note('While is possible to follow big logging,','INFO',this)
00029 tstutl.note('the maximum log casalogger can load statically','INFO',this)
00030 tstutl.note('is set to 500000 rows.','INFO',this)
00031 tstutl.note('*****************************************','INFO',this)