[Top][All Lists]

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

Re: Any idea about what makes Emacs slow reading on pipes?

From: David Kastrup
Subject: Re: Any idea about what makes Emacs slow reading on pipes?
Date: 16 May 2003 19:34:00 +0200
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

Kevin Rodgers <address@hidden> writes:

> David Kastrup wrote:
> > The following exhibits abysmal speed within Emacs:
> > (let (process-connection-type) (switch-to-buffer
> > (generate-new-buffer
> > "*test*"))(erase-buffer)(start-process "test" (current-buffer) "sh"
> > "-c" "hexdump -v /dev/zero|dd bs=1 count=100k")(erase-buffer))
> > More to the point, things start out dead slow and get faster later.
> > It is not the fault of the programs on the sending side: just piping
> > into cat >/dev/null instead of Emacs is much much faster.  It does
> > not seem that setting process-connection-type to nil as above (using
> > a pipe instead of a pty) does help worth noting.
> > The system I see this in is
> > GNU Emacs (i686-pc-linux-gnu)
> > a RedHat 9 system, but I have seen this in practically every Linux
> > system up to now.  Is this a Linux-specific problem, or do others see
> > this as well?
> /usr/bin/sh: hexdump: not found
> Can you suggest an alternative to hexdump for Solaris?

Probably od -h -v or something.  The point was just fast producing
large amounts of more or less reproducable text.

David Kastrup, Kriemhildstr. 15, 44793 Bochum

reply via email to

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