Mercurial > hg > graal-compiler
comparison mx.graal/mx_graal.py @ 22194:b8c1c277a6ef
Propagate -n parameter properly to dacapo for calls such as 'mx bench dacapo:*'
author | Stefan Anzinger <stefan.anzinger@oracle.com> |
---|---|
date | Thu, 09 Jul 2015 15:57:22 +0200 |
parents | 102c41a0516c |
children | 4485282cce66 |
comparison
equal
deleted
inserted
replaced
22193:b4971242bd23 | 22194:b8c1c277a6ef |
---|---|
1695 for dacapo in dacapos: | 1695 for dacapo in dacapos: |
1696 if dacapo not in sanitycheck.dacapoSanityWarmup.keys(): | 1696 if dacapo not in sanitycheck.dacapoSanityWarmup.keys(): |
1697 mx.abort('Unknown DaCapo : ' + dacapo) | 1697 mx.abort('Unknown DaCapo : ' + dacapo) |
1698 iterations = sanitycheck.dacapoSanityWarmup[dacapo][sanitycheck.SanityCheckLevel.Benchmark] | 1698 iterations = sanitycheck.dacapoSanityWarmup[dacapo][sanitycheck.SanityCheckLevel.Benchmark] |
1699 if iterations > 0: | 1699 if iterations > 0: |
1700 benchmarks += [sanitycheck.getDacapo(dacapo, iterations)] | 1700 benchmarks += [sanitycheck.getDacapo(dacapo, ['-n', str(iterations)])] |
1701 | 1701 |
1702 if 'scaladacapo' in args or 'all' in args: | 1702 if 'scaladacapo' in args or 'all' in args: |
1703 benchmarks += sanitycheck.getScalaDacapos(level=sanitycheck.SanityCheckLevel.Benchmark) | 1703 benchmarks += sanitycheck.getScalaDacapos(level=sanitycheck.SanityCheckLevel.Benchmark) |
1704 else: | 1704 else: |
1705 scaladacapos = benchmarks_in_group('scaladacapo') | 1705 scaladacapos = benchmarks_in_group('scaladacapo') |