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

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

Issue 900043002: Modify rasterize_and_record for DisplayItemList recording. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removing include that android doesn't handle Created 5 years, 10 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 | « cc/trees/layer_tree_host_unittest.cc ('k') | ui/compositor/layer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/measurements/rasterize_and_record_micro.py
diff --git a/tools/perf/measurements/rasterize_and_record_micro.py b/tools/perf/measurements/rasterize_and_record_micro.py
index 3523a7bb362b91c7422ad4275f2a2498be640745..f278ff66b55c6e75240fc487efe8fde45c1bd0b9 100644
--- a/tools/perf/measurements/rasterize_and_record_micro.py
+++ b/tools/perf/measurements/rasterize_and_record_micro.py
@@ -83,14 +83,24 @@ class RasterizeAndRecordMicro(page_test.PageTest):
picture_memory_usage))
results.AddValue(scalar.ScalarValue(
results.current_page, 'record_time', 'ms', record_time))
+
record_time_sk_null_canvas = data['record_time_sk_null_canvas_ms']
record_time_painting_disabled = data['record_time_painting_disabled_ms']
+ # TODO(schenney): Remove this workaround when reference builds get past
+ # the change that adds this comment.
+ if ('record_time_caching_disabled_ms' in data):
+ record_time_caching_disabled = data['record_time_caching_disabled_ms']
+ else:
+ record_time_caching_disabled = 0
results.AddValue(scalar.ScalarValue(
results.current_page, 'record_time_sk_null_canvas', 'ms',
record_time_sk_null_canvas))
results.AddValue(scalar.ScalarValue(
results.current_page, 'record_time_painting_disabled', 'ms',
record_time_painting_disabled))
+ results.AddValue(scalar.ScalarValue(
+ results.current_page, 'record_time_caching_disabled', 'ms',
+ record_time_caching_disabled))
if self._report_detailed_results:
pixels_rasterized_with_non_solid_color = \
« no previous file with comments | « cc/trees/layer_tree_host_unittest.cc ('k') | ui/compositor/layer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698