Changeset 4919
- Timestamp:
- Jan 9, 2008, 2:25:25 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_validation/automated_validation_tests/fitting/validate_benchmark_fit.py
r4888 r4919 3 3 4 4 I'm leaving a 20% error margin 5 6 Note, going from version 4897 to 4917 uses more memory, based on how 7 memory is measured here. What is actually happening is the mesh 8 generation is using less memory, in version 4917. In version 4897 9 mesh gen uses and frees up more memory, so phython asks for less extra 10 memory in the fitting stage. So overall version 4917 is an 11 improvement. 12 13 RAW DATA 14 version 4897 15 test_fit_time_and_mem (__main__.Test_uq) ... very start mem_usage() 98108 16 before fitting mem_usage() 134696 17 after fitting mem_usage() 155820 18 19 version 4917 20 test_fit_time_and_mem (__main__.Test_uq) ... very start mem_usage() 98076 21 before fitting mem_usage() 120012 22 after fitting mem_usage() 150212 23 time 15.19490695 24 mem 30200 25 5 26 """ 6 27 … … 43 64 time_standard = 14.5 44 65 self.assert_(time<time_standard*1.2) 45 mem_standard = 21340 66 mem_standard = 302404 67 # 46 68 self.assert_(mem<mem_standard*1.2) 47 69 … … 49 71 time_standard = 19.0 50 72 self.assert_(time<time_standard*1.2) 51 mem_standard = 2130073 mem_standard = 30204 52 74 self.assert_(mem<mem_standard*1.2) 53 75 … … 55 77 time_standard = 13.3 56 78 self.assert_(time<time_standard*1.2) 57 mem_standard = 2 056079 mem_standard = 29424 58 80 self.assert_(mem<mem_standard*1.2) 59 81 … … 61 83 time_standard = 27.6 62 84 self.assert_(time<time_standard*1.2) 63 mem_standard = 10820 # !!! 85 # v 4910 is giving a mem of 15572 86 mem_standard = 15572 # !!! 64 87 self.assert_(mem<mem_standard*1.2) 65 88 … … 67 90 time_standard = 14.2 68 91 self.assert_(time<time_standard*1.2) 69 mem_standard = 21008 92 mem_standard = 21008 # this will need to be updated, see top notes 70 93 self.assert_(mem<mem_standard*1.2) 71 94 … … 73 96 time_standard = 31.6 74 97 self.assert_(time<time_standard*1.2) 75 98 99 """ 100 test_fit_time_and_mem (__main__.Test_uq) ... very start mem_usage() 98076 101 before fitting mem_usage() 120012 102 after fitting mem_usage() 150212 103 time 15.19490695 104 mem 30200 105 106 test_fit_time_and_mem (__main__.Test_uq) ... very start mem_usage() 98108 107 before fitting mem_usage() 134696 108 after fitting mem_usage() 155820 109 110 """ 76 111 77 112 #-------------------------------------------------------------
Note: See TracChangeset
for help on using the changeset viewer.