help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Emacs (Windows version) slow when transferring large amount of text


From: speech . free
Subject: Re: Emacs (Windows version) slow when transferring large amount of text over pty or pipe
Date: Sat, 11 Oct 2014 21:53:05 -0700 (PDT)
User-agent: G2/1.0

Thank you. This one seems to help just a little bit, but every little bit 
counts for a completer. Still on the same computer one would expect 
transferring 1.8M to be sub 1 sec instead of close to 2 sec right now.

On Saturday, October 11, 2014 6:11:30 PM UTC-7, Alexis wrote:
> > 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 via email to

[Prev in Thread] Current Thread [Next in Thread]