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

Unified Diff: tools/perf/page_sets/system_health/system_health_story.py

Issue 2888133002: Modify list_system_health_stories to generate_system_health_csv (Closed)
Patch Set: Created 3 years, 7 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
Index: tools/perf/page_sets/system_health/system_health_story.py
diff --git a/tools/perf/page_sets/system_health/system_health_story.py b/tools/perf/page_sets/system_health/system_health_story.py
index aea6f800ea12f269597feaadbf78b913b41ea67f..e80331465afbe5d39a901f96ad9833bda3b1d0e3 100644
--- a/tools/perf/page_sets/system_health/system_health_story.py
+++ b/tools/perf/page_sets/system_health/system_health_story.py
@@ -87,6 +87,12 @@ class SystemHealthStory(page.Page):
self._take_memory_measurement = take_memory_measurement
@classmethod
+ def GetStoryDescription(cls):
+ if not cls.ABSTRACT_STORY and cls.__doc__:
+ return cls.__doc__
perezju 2017/05/18 09:52:35 maybe just return the first line (title) of the do
nednguyen 2017/05/18 14:02:58 For cases like https://cs.chromium.org/chromium/sr
perezju 2017/05/19 13:48:29 I think it's valuable to have a long full explanat
+ return 'N/A'
+
+ @classmethod
def CanRun(cls, possible_browser):
if (decorators.ShouldSkip(cls, possible_browser)[0] or
cls.ShouldDisable(possible_browser)):

Powered by Google App Engine
This is Rietveld 408576698