Unverified Commit 9a0b5625 authored by Chinmay Garde's avatar Chinmay Garde Committed by GitHub

When parsing logs, filter away lines that are irrelevant to the microbenchmark. (#16678)

parent ec26a7ba
...@@ -136,7 +136,7 @@ Future<Map<String, double>> _readJsonResults(Process process) { ...@@ -136,7 +136,7 @@ Future<Map<String, double>> _readJsonResults(Process process) {
return; return;
} }
if (jsonStarted) if (jsonStarted && line.contains(jsonPrefix))
jsonBuf.writeln(line.substring(line.indexOf(jsonPrefix) + jsonPrefix.length)); jsonBuf.writeln(line.substring(line.indexOf(jsonPrefix) + jsonPrefix.length));
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment