Changeset 5290 for anuga_validation
- Timestamp:
- May 7, 2008, 5:40:11 PM (17 years ago)
- Location:
- anuga_validation/automated_validation_tests
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_validation/automated_validation_tests/fitting/validate_benchmark_fit.py
r4919 r5290 7 7 memory is measured here. What is actually happening is the mesh 8 8 generation is using less memory, in version 4917. In version 4897 9 mesh gen uses and frees up more memory, so p hython asks for less extra9 mesh gen uses and frees up more memory, so python asks for less extra 10 10 memory in the fitting stage. So overall version 4917 is an 11 11 improvement. … … 65 65 self.assert_(time<time_standard*1.2) 66 66 mem_standard = 302404 67 # 67 # 68 68 self.assert_(mem<mem_standard*1.2) 69 69 … … 90 90 time_standard = 14.2 91 91 self.assert_(time<time_standard*1.2) 92 mem_standard = 21008 # this will need to be updated, see top notes 93 self.assert_(mem<mem_standard*1.2) 92 mem_standard = 30000 # Updated by Ole 20080507 93 msg = 'Memory used was %d, mem_standard is %d' %(mem, mem_standard) 94 assert mem < mem_standard*1.2, msg 94 95 95 96 elif host.find('pc-31569') == 0: # DSG's PC -
anuga_validation/automated_validation_tests/validate_all.py
r4842 r5290 2 2 """ 3 3 4 import os 4 import os, time 5 5 6 6 … … 28 28 29 29 30 print 31 print '----------------------------------------------------------' 32 print 'Running all validation tests - this may take several hours' 33 print '----------------------------------------------------------' 30 34 31 35 for path, filename in validation_dirs_and_files: … … 33 37 34 38 os.chdir(path) 35 s = 'python %s' %( filename) 39 s = 'python %s' %(filename) 40 print s 41 t0 = time.time() 36 42 os.system(s) 37 # print 'current dir', os.getcwd()43 print 'That took %.2f seconds' %(time.time()-t0) 38 44 39 45 # Back to parent directory
Note: See TracChangeset
for help on using the changeset viewer.