unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: Does emacs cache something on windows when invoking call-process?
Date: Tue, 09 Jul 2019 20:27:27 +0300	[thread overview]
Message-ID: <83r26z3yps.fsf@gnu.org> (raw)
In-Reply-To: <AxrTiQ.HOfSNXFOYvCB.kZAug94H0vqxCjWohKcv@freemail.hu> (message from Eighty Megabytes on Tue, 9 Jul 2019 19:08:53 +0200 (CEST))

> From: Eighty Megabytes <emacsuser@freemail.hu>
> Date: Tue,  9 Jul 2019 19:08:53 +0200 (CEST)
> 
> > This is pure guessing on my part; please let's use a command
> > that is likely to be on any Windows machine.
> 
> I tried it with grep and I don't see the slowdown there, so I'm
> out of ideas.

What kind of program is ripgrep?  Is it per chance a Cywgin or MSYS2
executable?  If so, perhaps the time you see is spent loading the
Cygwin/MSYS2 DLL.

> I'll think of other ways of tracking down the problem. E.g. using
> some systrace tool or something too see where emacs spends that
> 6-7 seconds.

Good idea.



  reply	other threads:[~2019-07-09 17:27 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-09 17:08 Does emacs cache something on windows when invoking call-process? Eighty Megabytes
2019-07-09 17:27 ` Eli Zaretskii [this message]
  -- strict thread matches above, loose matches on Subject: below --
2019-07-10 21:10 Eighty Megabytes
2019-07-10  8:34 Eighty Megabytes
2019-07-10  5:31 Eighty Megabytes
2019-07-10  6:08 ` ISHIKAWA,chiaki
2019-07-10 14:33 ` Eli Zaretskii
2019-07-09 20:54 Eighty Megabytes
2019-07-09 21:30 ` Stefan Monnier
2019-07-09 15:58 Eighty Megabytes
2019-07-09 16:16 ` Eli Zaretskii
2019-07-09 14:03 Eighty Megabytes
2019-07-09 15:27 ` Eli Zaretskii

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=83r26z3yps.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=help-gnu-emacs@gnu.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 read-only IMAP folder(s) and NNTP newsgroup(s).