Changeset 7222


Ignore:
Timestamp:
Jun 19, 2009, 8:31:29 AM (15 years ago)
Author:
rwilson
Message:

Added my Ubuntu box to known time/memory usage data.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • anuga_core/source/anuga/fit_interpolate/benchmark_least_squares.py

    r6152 r7222  
    110110
    111111
    112 
    113 
    114112class BenchmarkLeastSquares:
    115 
    116113    """
    117114
  • branches/numpy_anuga_validation/automated_validation_tests/fitting/validate_benchmark_fit.py

    r6198 r7222  
    6565        #Defaults
    6666        time_standard = 120.
    67         mem_standard = 50000.
     67        mem_standard = 50000
    6868       
    6969        if host.find('tornado') == 0:
     
    7171            #time_standard = 14.5
    7272            time_standard = 24.
    73             mem_standard = 302404.
     73            mem_standard = 30204
    7474           
    75         elif host.find('compute-1') == 0: # cyclone or tornado node
     75        elif host.find('compute') == 0: # cyclone or tornado node
    7676            time_standard = 19.0
    77             mem_standard = 30204.
     77            mem_standard = 30204
    7878
    7979        elif host.find('cyclone') == 0: # cyclone headnode
    8080            time_standard = 13.3
    81             mem_standard = 29424.
     81            mem_standard = 30204
     82            #mem_standard = 29424
    8283
    8384        elif host.find('nautilus') == 0:
     
    8586           
    8687            # v 4910 is giving a mem of 15572
    87             mem_standard = 15572.
     88            mem_standard = 15572
    8889           
    8990
    9091        elif host.find('bogong') == 0:
    9192            time_standard = 14.2
    92             mem_standard = 30000. # Updated by Ole 20080507
     93            mem_standard = 30000 # Updated by Ole 20080507
    9394
    9495
    9596        elif host.find('pc-31569') == 0: # DSG's PC
    9697            time_standard = 31.6
    97             mem_standard = 15000. #?
     98            mem_standard = 15000 #?
     99
     100        elif host.find('PC-32572') == 0: # Ross' Ubuntu box - nump trunk
     101            time_standard = 12.8
     102            mem_standard = 15788 #?
    98103
    99104            """
     
    111116       
    112117        # Do the assertions here
    113         assert time<time_standard*1.2
     118        msg = ('Time used was %.1f s, standard is %.1f s +20%% (%.1f s)'
     119               % (time, time_standard, int(time_standard*1.2)))
     120        assert time < time_standard*1.2, msg
    114121
    115122
     
    126133        #reduced again
    127134
    128         msg = 'Memory used was %f, mem_standard is %f' %(float(mem), mem_standard)
    129         #print msg
    130         assert mem<mem_standard*1.2, msg           
     135        msg = ('Memory used was %d KiB, standard is %d KiB +20%% (%d KiB)'
     136               % (mem, mem_standard, int(mem_standard*1.2)))
     137        assert mem < mem_standard*1.2, msg           
    131138           
    132139#-------------------------------------------------------------
Note: See TracChangeset for help on using the changeset viewer.