comparison mx/sanitycheck.py @ 7569:7cae58134ff7

collection of Graal compilation speed metrics is now triggered by -XX:+CITime instead of -Dgraal.benchmark.compilation=true
author Doug Simon <doug.simon@oracle.com>
date Wed, 30 Jan 2013 22:33:04 +0100
parents a8bc60aeacb8
children 2025455e7d80
comparison
equal deleted inserted replaced
7568:140d4d4ab3b9 7569:7cae58134ff7
288 parser.addMatcher(ValuesMatcher(failureRE, {'failed' : '1'})) 288 parser.addMatcher(ValuesMatcher(failureRE, {'failed' : '1'}))
289 for scoreMatcher in self.scoreMatchers: 289 for scoreMatcher in self.scoreMatchers:
290 parser.addMatcher(scoreMatcher) 290 parser.addMatcher(scoreMatcher)
291 291
292 if self.benchmarkCompilationRate: 292 if self.benchmarkCompilationRate:
293 opts.append('-Dgraal.benchmark.compilation=true') 293 opts.append('-XX:+CITime')
294 bps = re.compile(r"ParsedBytecodesPerSecond@final: (?P<rate>[0-9]+)") 294 bps = re.compile(r"ParsedBytecodesPerSecond@final: (?P<rate>[0-9]+)")
295 ibps = re.compile(r"InlinedBytecodesPerSecond@final: (?P<rate>[0-9]+)") 295 ibps = re.compile(r"InlinedBytecodesPerSecond@final: (?P<rate>[0-9]+)")
296 parser.addMatcher(ValuesMatcher(bps, {'group' : 'ParsedBytecodesPerSecond', 'name' : self.name, 'score' : '<rate>'})) 296 parser.addMatcher(ValuesMatcher(bps, {'group' : 'ParsedBytecodesPerSecond', 'name' : self.name, 'score' : '<rate>'}))
297 parser.addMatcher(ValuesMatcher(ibps, {'group' : 'InlinedBytecodesPerSecond', 'name' : self.name, 'score' : '<rate>'})) 297 parser.addMatcher(ValuesMatcher(ibps, {'group' : 'InlinedBytecodesPerSecond', 'name' : self.name, 'score' : '<rate>'}))
298 298