# HG changeset patch # User Doug Simon # Date 1359665736 -3600 # Node ID 641a4c6ac1ce96e1f00e838757f3d555a475f4ef # Parent e1667e7332decd05c03594f7b44aeace64c69bd4 fixed repetition of compilation metric option on command line when running multiple benchmarks (JIRA issue GRAAL-66) diff -r e1667e7332de -r 641a4c6ac1ce mx/sanitycheck.py --- 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[0-9]+)") ibps = re.compile(r"InlinedBytecodesPerSecond@final: (?P[0-9]+)")