GNU bug report logs - #59641
term is very slow

Previous Next

Package: emacs;

Reported by: Akib Azmain Turja <akib <at> disroot.org>

Date: Sun, 27 Nov 2022 20:02:01 UTC

Severity: wishlist

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Akib Azmain Turja <akib <at> disroot.org>
Cc: 59641 <at> debbugs.gnu.org
Subject: bug#59641: term is very slow
Date: Sun, 27 Nov 2022 22:31:05 +0200
> Date: Mon, 28 Nov 2022 02:00:29 +0600
> From:  Akib Azmain Turja via "Bug reports for GNU Emacs,
>  the Swiss army knife of text editors" <bug-gnu-emacs <at> gnu.org>
> 
> Term mode is very slow.  On my computer, Coterm is 2-3x faster than
> term, and my own terminal emulator, Eat, is 4-5x faster.
> 
> I tried to profile Term.  Steps:
> 
> 1. emacs -Q (+ -nw, environment variable DISPLAY was unset)
> 2. M-x profiler-start RET cpu+mem RET
> 3. M-x term
> 4. Run the following stupid command:
>    timeout 1 bash -c 'i=0 ; while true ; do echo $i ; i=$((i+1)) ; done'
>    Note I also run emacs -nw in before this command.
> 5. Wait for finishing.
> 6. M-x profiler-stop
> 7. M-x profiler-report
> 
> Here are the reports (attached), but don't seem to be human readable:

Copy them from the display shown by profiler-report, after you expand it
completely.

And the "cpu" profile is enough; the "mem" one doesn't add anything useful.




This bug report was last modified 127 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.