Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(717)

Unified Diff: mojo/devtools/common/mojo_benchmark

Issue 1343413002: Make `benchmark.mojo` resilient to incorrect trace events. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « apps/benchmark/event.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/devtools/common/mojo_benchmark
diff --git a/mojo/devtools/common/mojo_benchmark b/mojo/devtools/common/mojo_benchmark
index 756b44ba101f5ec830a4a4397c7cb885b971463c..30fb0571d50a2108d5374bd0a9a622c1e9c89820 100755
--- a/mojo/devtools/common/mojo_benchmark
+++ b/mojo/devtools/common/mojo_benchmark
@@ -89,7 +89,7 @@ def _run_benchmark(shell, shell_args, name, app, duration_seconds, measurements,
# Echo measurement results.
for line in output_lines:
- if line.strip().startswith('measurement:'):
+ if line.strip().startswith('measurement:') or 'WARNING' in line:
print line
return True
« no previous file with comments | « apps/benchmark/event.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698