Fixes a bug introduced by the new per-tile bench log format.

Review URL: https://codereview.appspot.com/7301056

git-svn-id: http://skia.googlecode.com/svn/trunk@7630 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
bensong@google.com 2013-02-06 20:59:14 +00:00
parent 92b0f51b9b
commit ff388f8ec4

View File

@ -116,8 +116,8 @@ def parse(settings, lines, representation=None):
settings_re = 'skia bench:((?:\s+' + setting_re + ')*)'
bench_re = 'running bench (?:\[\d+ \d+\] )?\s*(\S+)'
time_re = '(?:(\w*)msecs = )?\s*((?:\d+\.\d+)(?:,\d+\.\d+)*)'
# non-per-tile benches have configs that don't end with ']'
config_re = '(\S+[^\]]): ((?:' + time_re + '\s+)+)'
# non-per-tile benches have configs that don't end with ']' or '>'
config_re = '(\S+[^\]>]): ((?:' + time_re + '\s+)+)'
# per-tile bench lines are in the following format. Note that there are
# non-averaged bench numbers in separate lines, which we ignore now due to
# their inaccuracy.