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

Unified Diff: tools/skpbench/parseskpbench.py

Issue 2374093002: skpbench: run for a fixed duration (Closed)
Patch Set: remove GrTAllocator Created 4 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 | « no previous file | tools/skpbench/skpbench.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/skpbench/parseskpbench.py
diff --git a/tools/skpbench/parseskpbench.py b/tools/skpbench/parseskpbench.py
index f903ec00a885aae8e4e97168dd66db8f523086f0..2368fb111b34cf65788d06ce1b1081ea72959360 100755
--- a/tools/skpbench/parseskpbench.py
+++ b/tools/skpbench/parseskpbench.py
@@ -56,7 +56,6 @@ class Parser:
self.rows = collections.defaultdict(dict)
self.cols = collections.defaultdict(dict)
self.metric = None
- self.samples = None
self.sample_ms = None
def parse_file(self, infile):
@@ -69,11 +68,6 @@ class Parser:
elif match.metric != self.metric:
raise ValueError("results have mismatched metrics (%s and %s)" %
(self.metric, match.metric))
- if self.samples is None:
- self.samples = match.samples
- elif not FLAGS.force and match.samples != self.samples:
- raise ValueError("results have mismatched number of samples. "
- "(use --force to ignore)")
if self.sample_ms is None:
self.sample_ms = match.sample_ms
elif not FLAGS.force and match.sample_ms != self.sample_ms:
« no previous file with comments | « no previous file | tools/skpbench/skpbench.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698