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

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

bug#59641: term is very slow


From: Akib Azmain Turja
Subject: bug#59641: term is very slow
Date: Mon, 28 Nov 2022 02:00:29 +0600

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:

Attachment: term-cpu-profile-data
Description: CPU Profile Data

Attachment: term-memory-profile-data
Description: Memory Profile Data

-- 
Akib Azmain Turja, GPG key: 70018CE5819F17A3BBA666AFE74F0EFA922AE7F5
Fediverse: akib@hostux.social
Codeberg: akib
emailselfdefense.fsf.org | "Nothing can be secure without encryption."

Attachment: signature.asc
Description: PGP signature


reply via email to

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