[all-commits] [llvm/llvm-project] 5bd9ee: [find_interesting_reviews.py] Add git blame output...

Kristof Beyls via All-commits all-commits at lists.llvm.org
Mon Dec 23 04:08:35 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 5bd9eee53d124d00885395f6f2d6a8c64deca188
      https://github.com/llvm/llvm-project/commit/5bd9eee53d124d00885395f6f2d6a8c64deca188
  Author: Kristof Beyls <kristof.beyls at arm.com>
  Date:   2019-12-23 (Mon, 23 Dec 2019)

  Changed paths:
    M llvm/utils/Reviewing/find_interesting_reviews.py

  Log Message:
  -----------
  [find_interesting_reviews.py] Add git blame output cache

The majority of the running time of this script tends to be spent in
running git blame on source files touched by patches under review.

By introducing a git blame output cache, some of the git blame commands
don't have to re-run, and the blame information can be retrieved from a
cache.

I've observed that in a typical run matching patches available for
review with potential reviewers, this speeds up the script's running
time by a factor of about 2.5x.




More information about the All-commits mailing list