tools/perf/generate_perf_sharding.py
def _GetBuilderPlatforms(builders, waterfall):
  """Get a list of PerfBuilder objects for the given builders or waterfall.

  Otherwise, just return all platforms.
  """
  if builders:
    return {b for b in bot_platforms.ALL_PLATFORMS if b.name in
                builders}
  elif waterfall == 'perf':
    return bot_platforms.OFFICIAL_PLATFORMS
  elif waterfall == 'perf-fyi':
    return bot_platforms.FYI_PLATFORMS
  else:
    return bot_platforms.ALL_PLATFORMS
Get a list of PerfBuilder objects for the given builders or waterfall.

  Otherwise, just return all platforms.
  
Get a list of PerfBuilder objects for the given builders or waterfall.
Otherwise, just return all platforms.
Get a list of PerfBuilder objects for the given builders or waterfall . Otherwise just return all platforms .
def _GetBuilderPlatforms(builders, waterfall):
  if builders:
    return {b for b in bot_platforms.ALL_PLATFORMS if b.name in
                builders}
  elif waterfall == 'perf':
    return bot_platforms.OFFICIAL_PLATFORMS
  elif waterfall == 'perf-fyi':
    return bot_platforms.FYI_PLATFORMS
  else:
    return bot_platforms.ALL_PLATFORMS
def _GetBuilderPlatforms ( builders , waterfall ) : if builders : return { b for b in bot_platforms . ALL_PLATFORMS if b . name in builders } elif waterfall == 'perf' : return bot_platforms . OFFICIAL_PLATFORMS elif waterfall == 'perf-fyi' : return bot_platforms . FYI_PLATFORMS else : return bot_platforms . ALL_PLATFORMS
Get a list of PerfBuilder objects for the given builders or waterfall.
Get a list of PerfBuilder objects for the given builders or waterfall .
"""Get a list of PerfBuilder objects for the given builders or waterfall.

  Otherwise, just return all platforms.
  """
builders
waterfall