summaryrefslogtreecommitdiffstats
path: root/tools/perf/measurements/smoothness.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/measurements/smoothness.py')
-rw-r--r--tools/perf/measurements/smoothness.py9
1 files changed, 4 insertions, 5 deletions
diff --git a/tools/perf/measurements/smoothness.py b/tools/perf/measurements/smoothness.py
index a553e95..4bdbe07 100644
--- a/tools/perf/measurements/smoothness.py
+++ b/tools/perf/measurements/smoothness.py
@@ -3,6 +3,7 @@
# found in the LICENSE file.
from metrics import loading
from metrics import smoothness
+from metrics.gpu_rendering_stats import GpuRenderingStats
from telemetry.page import page_measurement
class DidNotScrollException(page_measurement.MeasurementFailure):
@@ -59,11 +60,9 @@ class Smoothness(page_measurement.PageMeasurement):
loading.LoadingMetric().AddResults(tab, results)
smoothness.CalcFirstPaintTimeResults(results, tab)
- smoothness.CalcScrollResults(rendering_stats_deltas, results)
- smoothness.CalcTextureUploadResults(rendering_stats_deltas, results)
- smoothness.CalcImageDecodingResults(rendering_stats_deltas, results)
- smoothness.CalcAnalysisResults(rendering_stats_deltas, results)
- smoothness.CalcLatencyResults(rendering_stats_deltas, results)
+
+ benchmark_stats = GpuRenderingStats(rendering_stats_deltas)
+ smoothness.CalcResults(benchmark_stats, results)
if self.options.report_all_results:
for k, v in rendering_stats_deltas.iteritems():