Changeset 5959
- Timestamp:
- Nov 17, 2008, 10:19:00 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_validation/automated_validation_tests/fitting/validate_benchmark_fit.py
r5389 r5959 58 58 ,save=False 59 59 ) 60 61 60 62 #print "time", time 61 63 #print "mem", mem … … 63 65 # Tornado headnode or node 64 66 time_standard = 14.5 65 self.assert_(time<time_standard*1.2)66 67 mem_standard = 302404 67 #68 self.assert_(mem<mem_standard*1.2)69 68 70 69 elif host.find('compute-0') == 0: # cyclone node 71 70 time_standard = 19.0 72 self.assert_(time<time_standard*1.2)73 71 mem_standard = 30204 74 self.assert_(mem<mem_standard*1.2)75 72 76 73 elif host.find('cyclone') == 0: # cyclone headnode 77 74 time_standard = 13.3 78 self.assert_(time<time_standard*1.2)79 75 mem_standard = 29424 80 self.assert_(mem<mem_standard*1.2)81 76 82 77 elif host.find('nautilus') == 0: 83 78 time_standard = 27.6 84 self.assert_(time<time_standard*1.2) 85 # v 4910 is giving a mem of 15572 86 mem_standard = 15572 # !!! 87 msg = 'Memory used was %d, mem_standard is %d' %(mem, mem_standard) 88 self.assert_(mem<mem_standard*1.2), msg 79 80 # v 4910 is giving a mem of 15572 81 mem_standard = 15572 82 89 83 90 84 elif host.find('bogong') == 0: 91 85 time_standard = 14.2 92 self.assert_(time<time_standard*1.2)93 86 mem_standard = 30000 # Updated by Ole 20080507 94 msg = 'Memory used was %d, mem_standard is %d' %(mem, mem_standard) 95 assert mem < mem_standard*1.2, msg 87 96 88 97 89 elif host.find('pc-31569') == 0: # DSG's PC 98 90 time_standard = 31.6 99 self.assert_(time<time_standard*1.2)91 mem_standard = 15000 #? 100 92 101 93 """ … … 111 103 112 104 """ 105 106 # Do the assertions here 107 assert time<time_standard*1.2 108 109 110 # Before change: https://datamining.anu.edu.au/anuga/changeset/5855 111 # which closed tickets 244 and 302, mem_standard was as above. 112 # Temporary until ticket:242 is fixed increase it by 25% 113 mem_standard *= 1.25 114 115 msg = 'Memory used was %d, mem_standard is %d' %(mem, mem_standard) 116 #print msg 117 assert mem<mem_standard*1.2, msg 113 118 114 119 #-------------------------------------------------------------
Note: See TracChangeset
for help on using the changeset viewer.