git/list[1] front-page[2] threads[3] people[4] search[5] about
 

test-grep-lint is uncomfortably slow

From
Junio C Hamano <gitster@pobox.com>
Date
Oct 6, 2026, 16:41 UTC
Message-ID
<xmqqjynueq81.fsf@gitster.g>

Does anyone else feel that make test takes too long to start? There is a noticeable pause after "rm -f -r 'test-results'" before the first line of real output is shown. The time in between is likely spent on make test-lint.

Here is a time to run "make test-lint" 5 times in a row.

$ time sh -c 'for c in 1 2 3 4 5; do make test-lint; done' real 0m49.221s user 1m37.796s sys 0m4.597s

If we revert the merge c9a92e239f (Merge branch 'mm/test-grep-lint', 2026-07-19) to disable the grep-lint, it becomes somewhat tolerable.

$ time sh -c 'for c in 1 2 3 4 5; do make test-lint; done' real 0m9.166s user 0m59.156s sys 0m2.887s

Is this something we can make go faster?  
Thanks.
Message 1 of 1 in “test-grep-lint is uncomfortably slow”
  1. Junio C HamanoOct 6, 2026

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.