Ignore:
Timestamp:
Jun 3, 2013, 3:09:09 PM (6 years ago)
Author:
bhull
Message:

RE performance script changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • proto/RE/performance/perf.py

    r3228 r3256  
    2424                file5.close
    2525
     26        #quick version
     27        one=execute_one(execution,1)
     28        return one,one,one,one
    2629
    27 
    28         execute_one(execution,1)
    29         one=execute_one(execution,10)
    30         execution5=Execution(execution.stat, execution.program, File(execution.file.file+'.5',execution.file.description+'.5',execution.file.types), execution.expression)
    31         execute_one(execution5,1)
    32         five=execute_one(execution5,10)
    33         execution11=Execution(execution.stat, execution.program, File(execution.file.file+'.11',execution.file.description+'.11',execution.file.types), execution.expression)
    34         execute_one(execution11,1)
    35         eleven=execute_one(execution11,10)
    36         return (eleven-one)/10,one,five/5,eleven/11
     30        #slower version
     31        #execute_one(execution,1)
     32        #one=execute_one(execution,10)
     33        #execution5=Execution(execution.stat, execution.program, File(execution.file.file+'.5',execution.file.description+'.5',execution.file.types), execution.expression)
     34        #execute_one(execution5,1)
     35        #five=execute_one(execution5,10)
     36        #execution11=Execution(execution.stat, execution.program, File(execution.file.file+'.11',execution.file.description+'.11',execution.file.types), execution.expression)
     37        #execute_one(execution11,1)
     38        #eleven=execute_one(execution11,10)
     39        #return (eleven-one)/10,one,five/5,eleven/11
    3740
    3841
     
    4043
    4144def execute_one(execution, count):
     45
    4246        redirectoutput= ' > /dev/null 2>&1'
    4347        if execution.program=='bitstreams':
Note: See TracChangeset for help on using the changeset viewer.