tools/perf/core/benchmark_utils.py
def GetBenchmarkStoryInfo(benchmark):
  """Return a list with StoryInfo objects for each story in a benchmark."""
  stories = [
      StoryInfo(name=story.name, description=DescribeStory(story),
                tags=list(story.tags))
      for story in GetBenchmarkStorySet(benchmark)
  ]
  stories.sort(key=lambda s: s.name)
  return stories
Return a list with StoryInfo objects for each story in a benchmark.
Return a list with StoryInfo objects for each story in a benchmark.
Return a list with StoryInfo objects for each story in a benchmark .
def GetBenchmarkStoryInfo(benchmark):
  stories = [
      StoryInfo(name=story.name, description=DescribeStory(story),
                tags=list(story.tags))
      for story in GetBenchmarkStorySet(benchmark)
  ]
  stories.sort(key=lambda s: s.name)
  return stories
def GetBenchmarkStoryInfo ( benchmark ) : stories = [ StoryInfo ( name = story . name , description = DescribeStory ( story ) , tags = list ( story . tags ) ) for story in GetBenchmarkStorySet ( benchmark ) ] stories . sort ( key = lambda s : s . name ) return stories
Return a list with StoryInfo objects for each story in a benchmark.
Return a list with StoryInfo objects for each story in a benchmark .
"""Return a list with StoryInfo objects for each story in a benchmark."""
benchmark