all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Alexis <flexibeast@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Emacs (Windows version) slow when transferring large amount of text over pty or pipe
Date: Sun, 12 Oct 2014 12:11:30 +1100	[thread overview]
Message-ID: <87d29ynl8n.fsf@gmail.com> (raw)
In-Reply-To: <b6835497-29ab-4db2-b827-9539c40c386a@googlegroups.com>


speech.free@gmail.com writes:

> I am debugging a clang based completer. The completer running as a
> sub-process sends a large amount of text (about 1.8M) to emacs over a
> pty or pipe connection. The emacs connection buffer is about 4k, as
> seen from logging, that is the process filter is called for every 4k
> of text. The text is inserted into the process buffer and accumulated
> there and an EOT string is repeatedly searched for. Receiving the
> whole transfer takes close to 30 seconds, rendering the completer
> useless. The same problem is not seen on Linux. Any suggestion on why
> this is and how to deal with it? I have GNU Emacs 24.3.1
> (i386-mingw-nt6.2.9200)

Perhaps related:

https://lists.gnu.org/archive/html/emacs-devel/2014-10/msg00055.html


Alexis.



  reply	other threads:[~2014-10-12  1:11 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-11 19:04 Emacs (Windows version) slow when transferring large amount of text over pty or pipe speech.free
2014-10-12  1:11 ` Alexis [this message]
2014-10-12  1:43 ` speech.free
     [not found] ` <mailman.11020.1413079847.1147.help-gnu-emacs@gnu.org>
2014-10-12  4:53   ` speech.free

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=87d29ynl8n.fsf@gmail.com \
    --to=flexibeast@gmail.com \
    --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.
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.