[all-commits] [llvm/llvm-project] 3f27ea: [lit] Include zero-duration tests in the --time-te...
Manuel Carrasco via All-commits
all-commits at lists.llvm.org
Thu Sep 24 04:49:39 PDT 2026
Branch: refs/heads/users/mgcarrasco/lit-fix
Home: https://github.com/llvm/llvm-project
Commit: 3f27ea579b02b1f2f11394a075c45940521f4f6f
https://github.com/llvm/llvm-project/commit/3f27ea579b02b1f2f11394a075c45940521f4f6f
Author: Manuel Carrasco <Manuel.Carrasco at amd.com>
Date: 2026-09-24 (Thu, 24 Sep 2026)
Changed paths:
M llvm/utils/lit/lit/main.py
M llvm/utils/lit/lit/util.py
A llvm/utils/lit/tests/unit/Histogram.py
Log Message:
-----------
[lit] Include zero-duration tests in the --time-tests histogram
`if t.result.elapsed` dropped tests whose elapsed time was 0.0, so
--time-tests=all could print "N of M" with M smaller than the number of
tests that ran (seen as a flake in time-tests.py). Treat only None as
"not timed". If every recorded time is zero, use 0.55 as a dummy max so
the histogram can still be built without log(0).
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list