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

Unified Diff: tools/perf/measurements/page_cycler.py

Issue 23431036: Create and display "comparison statistics" to compare two statistics Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Sync'd to r233008. Created 7 years, 1 month 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/telemetry/support/html_output/results-template.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/measurements/page_cycler.py
diff --git a/tools/perf/measurements/page_cycler.py b/tools/perf/measurements/page_cycler.py
index a0fdc470b7d0bc5c3633201e8c27e223142ded2e..3073ad2556c5d8247b4a9b4206dd1fbe9ed52f65 100644
--- a/tools/perf/measurements/page_cycler.py
+++ b/tools/perf/measurements/page_cycler.py
@@ -179,6 +179,11 @@ class PageCycler(page_measurement.PageMeasurement):
self._memory_metric.AddSummaryResults(results)
io.IOMetric().AddSummaryResults(browser, results)
+ # Add in comparison stats for cold->warm load improvements
+ results.AddComparison('page_load_time', 'cold_times',
+ 'page_load_time', 'warm_times',
+ 'page_load_times', 'cache_improvements')
+
def IsRunCold(self, url):
return (self.ShouldRunCold(url) or
(self._cold_runs_requested and
« no previous file with comments | « no previous file | tools/telemetry/support/html_output/results-template.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698