tools/perf/core/upload_results_to_perf_dashboard.py
def _GetPerfDashboardRevisionsWithProperties(
    got_webrtc_revision, got_v8_revision, git_revision, main_revision,
    point_id=None):
  """Fills in the same revisions fields that process_log_utils does."""
  versions = {}
  versions['rev'] = main_revision
  versions['webrtc_git'] = got_webrtc_revision
  versions['v8_rev'] = got_v8_revision
  versions['git_revision'] = git_revision
  versions['point_id'] = point_id
  # There are a lot of "bad" revisions to check for, so clean them all up here.
  for key in versions.keys():
    if not versions[key] or versions[key] == 'undefined':
      del versions[key]
  return versions
Fills in the same revisions fields that process_log_utils does.
Fills in the same revisions fields that process_log_utils does.
Fills in the same revisions fields that process_log_utils does .
def _GetPerfDashboardRevisionsWithProperties(
    got_webrtc_revision, got_v8_revision, git_revision, main_revision,
    point_id=None):
  versions = {}
  versions['rev'] = main_revision
  versions['webrtc_git'] = got_webrtc_revision
  versions['v8_rev'] = got_v8_revision
  versions['git_revision'] = git_revision
  versions['point_id'] = point_id
  for key in versions.keys():
    if not versions[key] or versions[key] == 'undefined':
      del versions[key]
  return versions
def _GetPerfDashboardRevisionsWithProperties ( got_webrtc_revision , got_v8_revision , git_revision , main_revision , point_id = None ) : versions = { } versions [ 'rev' ] = main_revision versions [ 'webrtc_git' ] = got_webrtc_revision versions [ 'v8_rev' ] = got_v8_revision versions [ 'git_revision' ] = git_revision versions [ 'point_id' ] = point_id for key in versions . keys ( ) : if not versions [ key ] or versions [ key ] == 'undefined' : del versions [ key ] return versions
Fills in the same revisions fields that process_log_utils does.
Fills in the same revisions fields that process_log_utils does .
"""Fills in the same revisions fields that process_log_utils does.""" # There are a lot of "bad" revisions to check for, so clean them all up here.
got_webrtc_revision
got_v8_revision
git_revision
main_revision
point_id