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

This commit is contained in:
Chinmay Garde 2018-04-17 16:57:47 -07:00 committed by GitHub
parent ec26a7baca
commit 9a0b562524
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -136,7 +136,7 @@ Future<Map<String, double>> _readJsonResults(Process process) {
return;
}
if (jsonStarted)
if (jsonStarted && line.contains(jsonPrefix))
jsonBuf.writeln(line.substring(line.indexOf(jsonPrefix) + jsonPrefix.length));
});