tools.linux.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Eric Wong <e@80x24.org>
To: tools@linux.kernel.org
Subject: grokmirror sleeps 5s in some places
Date: Wed, 13 Oct 2021 11:03:44 +0000	[thread overview]
Message-ID: <20211013110344.GA10632@dcvr> (raw)

I'm on grokmirror.git commit ceb53836b59c9464
(Don't force url to contain hostname, 2021-08-27)
and I see some multiple 5s delays from grok-pull.

It's probably not a big deal for normal users, but it's also
part of the public-inbox test suite, and the test which tests
against grok-pull can end up taking longer than all the other
tests combined.

I don't know Python well, but some sort of pipe/socket
notification could be used to avoid busy waiting.

If keeping busy waits is far easier, I've found ~100ms delays
acceptable for keeping overall CPU usage down (at least from
other scripting languages; Python can't be that much slower).

Anyways, I'm disabling the test by default, now; so not
a high priority.

                 reply	other threads:[~2021-10-13 11:10 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=20211013110344.GA10632@dcvr \
    --to=e@80x24.org \
    --cc=tools@linux.kernel.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).