[all-commits] [llvm/llvm-project] 09f345: [lit] Print slowest test first when timing tests

Julian Lettner via All-commits all-commits at lists.llvm.org
Tue Apr 7 18:27:45 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 09f345080edbc914e2d864e9ccf50c94d90d35c5
      https://github.com/llvm/llvm-project/commit/09f345080edbc914e2d864e9ccf50c94d90d35c5
  Author: Julian Lettner <julian.lettner at apple.com>
  Date:   2020-04-07 (Tue, 07 Apr 2020)

  Changed paths:
    M llvm/utils/lit/lit/util.py

  Log Message:
  -----------
  [lit] Print slowest test first when timing tests

lit supports `--time-tests` which will report the 20 slowest tests and
print a nice histogram for test times.  This change prints this list and
the histogram rows by decreasing test times.  After all, we are most
interested in the slowest tests.




More information about the All-commits mailing list