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: Akib Azmain Turja <akib <at> disroot.org>
To: 59641 <at> debbugs.gnu.org
Subject: bug#59641: term is very slow
Date: Mon, 28 Nov 2022 02:00:29 +0600
[Message part 1 (text/plain, inline)]
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:

[term-cpu-profile-data (application/octet-stream, attachment)]
[term-memory-profile-data (application/octet-stream, attachment)]
[Message part 4 (text/plain, inline)]
-- 
Akib Azmain Turja, GPG key: 70018CE5819F17A3BBA666AFE74F0EFA922AE7F5
Fediverse: akib <at> hostux.social
Codeberg: akib
emailselfdefense.fsf.org | "Nothing can be secure without encryption."
[signature.asc (application/pgp-signature, inline)]

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.