Zulip Chat Archive

Stream: mathlib4

Topic: Did linting in CI get slower?


Michael Stoll (Nov 14 2024 at 16:54):

Watching CI runs, I got the impression that the "lint mathlib" step got noticeably slower: until very recently (last week or so), it took a bit over 4 minutes, now it is a bit over 5 minutes. Is this just because Mathlib has been growing a lot, or are there deeper reasons?

Michael Stoll (Nov 21 2024 at 21:02):

It seems to approach 6 minutes by now...

Michael Rothgang (Nov 21 2024 at 21:31):

Wild guess: is #18033 related? (Pending fix in #19260.)

Michael Rothgang (Nov 21 2024 at 21:32):

Getting some data: the speed-center reports that the linting step did not get much slower in the past week.

Michael Stoll (Nov 21 2024 at 21:35):

It looks like there has been a slow but fairly steady increase (in wall clock time) since mid-October.

Michael Rothgang (Nov 21 2024 at 21:36):

Looking at all of November, #17904 seems to have increased linting instructions by ~4-5% (roughly corresponding to a 15s wall-time increase).

Michael Rothgang (Nov 21 2024 at 21:37):

(Wall-clock times are fairly noisy; instructions are more stable and seem well-correlated across that time interval.)

Michael Stoll (Nov 21 2024 at 21:37):

Sure, but wall-clock time is what you see on the CI run.

Michael Rothgang (Nov 21 2024 at 21:44):

Agreed. My point is: for pinpointing regressions, instructions can be more helpful.

Michael Stoll (Nov 21 2024 at 21:45):

(It is still much better than in the good old final days of mathlib3, when linting took almost an hour each time...)

Damiano Testa (Nov 21 2024 at 22:10):

The header linter silencing was definitely a performance fiasco, but I don't think that the linting step of CI was affected: the header linter runs during build, not in the later step, I think.

Michael Rothgang (Nov 21 2024 at 22:42):

(By the way, I don't mean to pick on your PR in particular. I also remember one PR of mine regressing things pretty badly - and getting fixes eventually.)


Last updated: May 02 2025 at 03:31 UTC