Mercurial > hg > graal-compiler
comparison mx/commands.py @ 8149:8fe43a4301dd
Merge.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Thu, 07 Mar 2013 14:38:28 +0100 |
parents | 9786ac8fff61 |
children | e0db99483b35 |
comparison
equal
deleted
inserted
replaced
8148:12b4f1521a0d | 8149:8fe43a4301dd |
---|---|
1010 mx.abort('-it (Iteration time) needs a numeric value (seconds)') | 1010 mx.abort('-it (Iteration time) needs a numeric value (seconds)') |
1011 vmArgs.remove('-it') | 1011 vmArgs.remove('-it') |
1012 benchArgs.remove(args[itIdx+1]) | 1012 benchArgs.remove(args[itIdx+1]) |
1013 vm = _vm; | 1013 vm = _vm; |
1014 sanitycheck.getSPECjvm2008(benchArgs, skipCheck, skipValid, wt, it).bench(vm, opts=vmArgs) | 1014 sanitycheck.getSPECjvm2008(benchArgs, skipCheck, skipValid, wt, it).bench(vm, opts=vmArgs) |
1015 | |
1016 def specjbb2013(args): | |
1017 """runs the composite SPECjbb2013 benchmark | |
1018 | |
1019 All options begining with - will be passed to the vm""" | |
1020 benchArgs = [a for a in args if a[0] != '-'] | |
1021 vmArgs = [a for a in args if a[0] == '-'] | |
1022 vm = _vm; | |
1023 sanitycheck.getSPECjbb2013(benchArgs).bench(vm, opts=vmArgs) | |
1015 | 1024 |
1016 def hsdis(args, copyToDir=None): | 1025 def hsdis(args, copyToDir=None): |
1017 """download the hsdis library | 1026 """download the hsdis library |
1018 | 1027 |
1019 This is needed to support HotSpot's assembly dumping features. | 1028 This is needed to support HotSpot's assembly dumping features. |
1113 'hcfdis': [hcfdis, ''], | 1122 'hcfdis': [hcfdis, ''], |
1114 'igv' : [igv, ''], | 1123 'igv' : [igv, ''], |
1115 'jdkhome': [jdkhome, ''], | 1124 'jdkhome': [jdkhome, ''], |
1116 'dacapo': [dacapo, '[[n] benchmark] [VM options|@DaCapo options]'], | 1125 'dacapo': [dacapo, '[[n] benchmark] [VM options|@DaCapo options]'], |
1117 'scaladacapo': [scaladacapo, '[[n] benchmark] [VM options|@Scala DaCapo options]'], | 1126 'scaladacapo': [scaladacapo, '[[n] benchmark] [VM options|@Scala DaCapo options]'], |
1118 'specjvm2008': [specjvm2008, '[VM options|@specjvm2008 options]'], | 1127 'specjvm2008': [specjvm2008, '[VM options|specjvm2008 options (-v, -ikv, -ict, -wt, -it)]'], |
1128 'specjbb2013': [specjbb2013, '[VM options]'], | |
1119 #'example': [example, '[-v] example names...'], | 1129 #'example': [example, '[-v] example names...'], |
1120 'gate' : [gate, '[-options]'], | 1130 'gate' : [gate, '[-options]'], |
1121 'gv' : [gv, ''], | 1131 'gv' : [gv, ''], |
1122 'bench' : [bench, '[-resultfile file] [all(default)|dacapo|specjvm2008|bootstrap]'], | 1132 'bench' : [bench, '[-resultfile file] [all(default)|dacapo|specjvm2008|bootstrap]'], |
1123 'unittest' : [unittest, '[filters...]'], | 1133 'unittest' : [unittest, '[filters...]'], |