all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Daniel Pittman <slippycheeze@google.com>
Cc: emacs-devel@gnu.org
Subject: Re: `process-send-*` performance seems ... bad?
Date: Wed, 19 Jun 2019 18:44:54 +0300	[thread overview]
Message-ID: <83wohhr349.fsf@gnu.org> (raw)
In-Reply-To: <CAC45yQuk95Y0VC_pYf6RKpS0pU+=BYZtgsc1A=bUk2088C67LA@mail.gmail.com> (message from Daniel Pittman on Tue, 18 Jun 2019 17:41:22 -0400)

> From: Daniel Pittman <slippycheeze@google.com>
> Date: Tue, 18 Jun 2019 17:41:22 -0400
> 
> My question here is: is there something I'm doing wrong, or is this the very best I could expect from Emacs
> with an external process?

It's hard to say: the program and the setup are entirely non-trivial,
so I wouldn't expect anyone to know the answer off hand.

A useful first step towards understanding what's going on is to
profile your runs using the built-in profiler, and post the full
profiles here.  It is advisable to load all the Lisp files involved in
this as .el, not .elc, because then the profile will be much more
detailed.

Armed with the profile, we can see where the program spends most of
its time, and then take it from there.



      parent reply	other threads:[~2019-06-19 15:44 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-18 21:41 `process-send-*` performance seems ... bad? Daniel Pittman
2019-06-19 14:57 ` Noam Postavsky
2019-06-19 18:02   ` Daniel Pittman
2019-06-19 18:15     ` Noam Postavsky
2019-06-19 19:35       ` Daniel Pittman
2019-06-19 15:44 ` Eli Zaretskii [this message]

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=83wohhr349.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=slippycheeze@google.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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

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.