Chromium Code Reviews| Index: tools/perf/benchmarks/octane.py |
| diff --git a/tools/perf/benchmarks/octane.py b/tools/perf/benchmarks/octane.py |
| index 74be2dc387b6c119fc9b8d6cc903fd22854cdec5..d27dc7c25061a7e98773760aff5487c32dcf5faa 100644 |
| --- a/tools/perf/benchmarks/octane.py |
| +++ b/tools/perf/benchmarks/octane.py |
| @@ -116,7 +116,7 @@ class _OctaneMeasurement(page_test.PageTest): |
| 'Unexpected result format "%s"' % score_and_name |
| if 'Skipped' not in score_and_name[1]: |
| name = score_and_name[0] |
| - score = int(score_and_name[1]) |
| + score = int(float(score_and_name[1])) |
|
nednguyen
2015/07/23 14:59:01
why not just float(...)? I don't think we need to
|
| results.AddValue(scalar.ScalarValue( |
| results.current_page, name, 'score', score, important=False, |
| description=DESCRIPTIONS.get(name))) |