Mercurial > hg > truffle
comparison perf/benchmarktool.py @ 3551:7d9e3ee49ac9
Made default for GraalBailoutIsFatal "false".
author | Thomas Wuerthinger <thomas@wuerthinger.net> |
---|---|
date | Mon, 22 Aug 2011 12:19:03 +0200 |
parents | 344264424174 |
children |
comparison
equal
deleted
inserted
replaced
3549:25765a764212 | 3551:7d9e3ee49ac9 |
---|---|
83 cmd = '"' + vm + '/bin/java" ' + compilerFlags[compiler] + ' -d64 ' + DEFAULT_DACAPO_OPTS + options.o + ' -classpath ' + \ | 83 cmd = '"' + vm + '/bin/java" ' + compilerFlags[compiler] + ' -d64 ' + DEFAULT_DACAPO_OPTS + options.o + ' -classpath ' + \ |
84 os.environ['DACAPO'] + '/dacapo-9.12-bach.jar Harness -n ' + str(options.n) + ' ' | 84 os.environ['DACAPO'] + '/dacapo-9.12-bach.jar Harness -n ' + str(options.n) + ' ' |
85 benchmarks = runBash('java -jar ' + os.environ['DACAPO'] + '/dacapo-9.12-bach.jar -l').read().decode().split(' ') | 85 benchmarks = runBash('java -jar ' + os.environ['DACAPO'] + '/dacapo-9.12-bach.jar -l').read().decode().split(' ') |
86 | 86 |
87 benchmarkTime = re.compile(r"===== DaCapo 9\.12 ([a-zA-Z0-9_]+) ((PASSED)|(completed warmup [0-9]+)) in ([0-9]+) msec =====") | 87 benchmarkTime = re.compile(r"===== DaCapo 9\.12 ([a-zA-Z0-9_]+) ((PASSED)|(completed warmup [0-9]+)) in ([0-9]+) msec =====") |
88 print('command: ' + cmd) | |
88 | 89 |
89 csvOutput = [['benchmark', 'type', 'time']] | 90 csvOutput = [['benchmark', 'type', 'time']] |
90 csvOutputLine = 0 | 91 csvOutputLine = 0 |
91 for benchmark in benchmarks: | 92 for benchmark in benchmarks: |
92 if options.runonly != 'all' and benchmark != options.runonly: | 93 if options.runonly != 'all' and benchmark != options.runonly: |