Mercurial > hg > graal-jvmci-8
diff mx/sanitycheck.py @ 7654:641a4c6ac1ce
fixed repetition of compilation metric option on command line when running multiple benchmarks (JIRA issue GRAAL-66)
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Thu, 31 Jan 2013 21:55:36 +0100 |
parents | 6078d41cecb2 |
children | 01aeaf194641 |
line wrap: on
line diff
--- a/mx/sanitycheck.py Thu Jan 31 17:51:05 2013 +0100 +++ b/mx/sanitycheck.py Thu Jan 31 21:55:36 2013 +0100 @@ -239,6 +239,8 @@ self.defaultCwd = defaultCwd self.ignoredVMs = ignoredVMs self.benchmarkCompilationRate = benchmarkCompilationRate + if benchmarkCompilationRate: + self.vmOpts = self.vmOpts + ['-XX:+CITime'] def __str__(self): return self.name @@ -303,7 +305,6 @@ parser.addMatcher(scoreMatcher) if self.benchmarkCompilationRate: - opts.append('-XX:+CITime') if vm == 'graal': bps = re.compile(r"ParsedBytecodesPerSecond@final: (?P<rate>[0-9]+)") ibps = re.compile(r"InlinedBytecodesPerSecond@final: (?P<rate>[0-9]+)")