Skip to content

Instantly share code, notes, and snippets.

@tiagovignatti
Created April 30, 2015 22:27
Show Gist options
  • Save tiagovignatti/56dbd26c145ae9ad55e6 to your computer and use it in GitHub Desktop.
Save tiagovignatti/56dbd26c145ae9ad55e6 to your computer and use it in GitHub Desktop.
diff --git a/tools/telemetry/telemetry/web_perf/metrics/smoothness.py b/tools/telemetry/telemetry/web_perf/metrics/smoothness.py
index 42445ab..0fd3fa2 100644
--- a/tools/telemetry/telemetry/web_perf/metrics/smoothness.py
+++ b/tools/telemetry/telemetry/web_perf/metrics/smoothness.py
@@ -296,6 +296,7 @@ class SmoothnessMetric(timeline_based_metric.TimelineBasedMetric):
mean_pixels_approximated = round(statistics.ArithmeticMean(
FlattenList(stats.approximated_pixel_percentages)), 3)
else:
+ print '_ComputeMeanPixelsApproximated: NOT_ENOUGH_FRAMES_MESSAGE'
none_value_reason = NOT_ENOUGH_FRAMES_MESSAGE
return scalar.ScalarValue(
page, 'mean_pixels_approximated', 'percent', mean_pixels_approximated,
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment