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

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

Issue 2375213002: Restore default-to-zero for subsequence caching record time metric. (Closed)
Patch Set: 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 | no next file » | 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 429f4adb099a89cfde5739c9d0df41dcbb689a37..bd208efeed462d124c30e0f266a94d6ffbf36288 100644
--- a/tools/perf/measurements/rasterize_and_record_micro.py
+++ b/tools/perf/measurements/rasterize_and_record_micro.py
@@ -82,8 +82,10 @@ class RasterizeAndRecordMicro(legacy_page_test.LegacyPageTest):
record_time_caching_disabled = data['record_time_caching_disabled_ms']
record_time_construction_disabled = \
data['record_time_construction_disabled_ms']
+ # TODO(wangxianzhu): Remove this workaround when reference builds get past
+ # r367465.
record_time_subsequence_caching_disabled = \
- data['record_time_subsequence_caching_disabled_ms']
+ data.get('record_time_subsequence_caching_disabled_ms', 0)
results.AddValue(scalar.ScalarValue(
results.current_page, 'record_time_painting_disabled', 'ms',
record_time_painting_disabled))
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698