All of lore.kernel.org
 help / color / mirror / Atom feed
From: Junio C Hamano <gitster@pobox.com>
To: git@vger.kernel.org
Cc: Michael Montalbo <mmontalbo@gmail.com>
Subject: test-grep-lint is uncomfortably slow
Date: Tue, 06 Oct 2026 09:41:34 -0700	[thread overview]
Message-ID: <xmqqjynueq81.fsf@gitster.g> (raw)

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.

                 reply	other threads:[~2026-10-06 16:41 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=xmqqjynueq81.fsf@gitster.g \
    --to=gitster@pobox.com \
    --cc=git@vger.kernel.org \
    --cc=mmontalbo@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.