tools/perf/core/upload_results_to_perf_dashboard.py
def _CommitPositionNumber(commit_pos):
  """Extracts the number part of a commit position.

  This is used to extract the number from got_revision_cp; This will be used
  as the value of "rev" in the data passed to results_dashboard.SendResults.
  """

  return int(re.search(r'{#(\d+)}', commit_pos).group(1))
Extracts the number part of a commit position.

  This is used to extract the number from got_revision_cp; This will be used
  as the value of "rev" in the data passed to results_dashboard.SendResults.
  
Extracts the number part of a commit position.
This is used to extract the number from got_revision_cp; This will be used
as the value of "rev" in the data passed to results_dashboard.SendResults.
Extracts the number part of a commit position . This is used to extract the number from got_revision_cp ; This will be used as the value of " rev " in the data passed to results_dashboard . SendResults .
def _CommitPositionNumber(commit_pos):
  return int(re.search(r'{#(\d+)}', commit_pos).group(1))
def _CommitPositionNumber ( commit_pos ) : return int ( re . search ( r'{#(\d+)}' , commit_pos ) . group ( 1 ) )
Extracts the number part of a commit position.
Extracts the number part of a commit position .
"""Extracts the number part of a commit position.

  This is used to extract the number from got_revision_cp; This will be used
  as the value of "rev" in the data passed to results_dashboard.SendResults.
  """
commit_pos