[all-commits] [llvm/llvm-project] 98827f: [lit] Add --time-trace-output to lit

rgal via All-commits all-commits at lists.llvm.org
Tue Aug 4 06:26:25 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 98827feddb90b8d8bfeb3c85f7801ee411bab2cd
      https://github.com/llvm/llvm-project/commit/98827feddb90b8d8bfeb3c85f7801ee411bab2cd
  Author: Russell Gallop <russell.gallop at sony.com>
  Date:   2020-08-04 (Tue, 04 Aug 2020)

  Changed paths:
    M llvm/utils/lit/lit/Test.py
    M llvm/utils/lit/lit/cl_arguments.py
    M llvm/utils/lit/lit/reports.py
    M llvm/utils/lit/lit/worker.py

  Log Message:
  -----------
  [lit] Add --time-trace-output to lit

This produces a chrome://tracing compatible trace file in the same way
as -ftime-trace.

This can be useful in optimising test time where one long test is causing
long overall test time on a wide machine.

This also helped in finding tests which have side effects on others
(e.g. https://reviews.llvm.org/D84885).

Differential Revision: https://reviews.llvm.org/D84931




More information about the All-commits mailing list