unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Alexis <flexibeast@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: mark@hindley.org.uk, mbork@mbork.pl, 20611@debbugs.gnu.org
Subject: bug#20611: 24.4; mutt slow in ansi-term
Date: Tue, 12 Apr 2016 17:59:17 +1000	[thread overview]
Message-ID: <87shyrntpm.fsf@gmail.com> (raw)
In-Reply-To: <83y48kf838.fsf@gnu.org>

[-- Attachment #1: Type: text/plain, Size: 2343 bytes --]


Eli Zaretskii <eliz@gnu.org> writes:

> Do you also see that Emacs 23 is significantly faster?

i wasn't sure which version of 23 i should try, so i downloaded 
both 23.1 and 23.4.

`configure' for 23.1 ran successfully, but compilation failed:

$ make cd lib-src; make all                            \ 
  CC='gcc' CFLAGS='-g -O2 -Wno-pointer-sign ' 
  CPPFLAGS='-D_BSD_SOURCE  ' \ LDFLAGS='-Wl,-znocombreloc ' 
  MAKE='make' 
make[1]: Entering directory 
'/home/alexis/Downloads/src/emacs-23.1/lib-src' Makefile:144: *** 
recipe commences before first target.  Stop.  make[1]: Leaving 
directory '/home/alexis/Downloads/src/emacs-23.1/lib-src' 
Makefile:325: recipe for target 'lib-src' failed make: *** 
[lib-src] Error 2 

`configure' for 23.4 required me to call `configure' with the 
option "--with-crt-dir=/usr/lib/x86_64-linux-gnu". Compilation was 
then successful. This version showed no lag at all.

(However, the alsamixer UI was severely broken, visually - 
excessive line length resulted in line wrapping and blocks of 
white background alternating with blocks of black background, as 
per the attached PNG.) 

> Also, were v24.5 and the current master compiled with the same 
> compilation options, and similar to Emacs 23?

Not according to the following, no. Having said that, i've not 
manually made any modifications to the configuration in the 
tarballs, or on master.

23.4:

CC='gcc' CFLAGS='-g -O2 -Wdeclaration-after-statement 
-Wno-pointer-sign' CPPFLAGS='-D_BSD_SOURCE  ' 
LDFLAGS='-Wl,-znocombreloc  ' MAKE='make'

24.5:

CC='gcc -std=gnu99' CFLAGS='-g3 -O2' CPPFLAGS='' LDFLAGS='' 
MAKE='make'

As for master, the env variables are no longer shown by the 'make' 
process. However, running `make -n' produced lines like:

gcc -std=gnu11 -DHAVE_CONFIG_H -I. -I../lib -I../src -I../src -g3 
-O2 -MT allocator.o -MD -MP -MF .deps/allocator.Tpo -c -o 
allocator

Is that okay? Or can i find better information elsewhere?

> Thanks.  I reviewed all the functions that are high on the 
> profile (term-goto seems to be the main culprit), and didn't see 
> any significant changes in them since Emacs 23.  Some of them 
> were not changed at all.  So I'm puzzled how can Emacs 24 and 
> Emacs 25 be significantly slower only in term.el.

Fair enough. One observation, though: the OP and i are both 
running Debian Jessie.


[-- Attachment #2: emacs_23-4.png --]
[-- Type: image/png, Size: 39957 bytes --]

  reply	other threads:[~2016-04-12  7:59 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-19  7:58 bug#20611: 24.4; mutt slow in ansi-term Mark Hindley
2016-04-08 18:10 ` Marcin Borkowski
2016-04-09  7:39   ` Mark Hindley
2016-04-09  9:38     ` Eli Zaretskii
2016-04-10  9:15       ` Mark Hindley
2016-04-10 17:01         ` Eli Zaretskii
2016-04-10 22:22           ` Alexis
2016-04-11 16:01             ` Eli Zaretskii
2016-04-12  7:59               ` Alexis [this message]
2016-04-12 15:27                 ` Eli Zaretskii
2016-04-13  0:22                   ` Alexis
2016-04-13  1:41                     ` Mark Hindley
2016-04-13  2:41                     ` Eli Zaretskii
2016-04-13  7:37                       ` Mark Hindley
2016-04-13  7:52                         ` Alexis
2016-04-13 14:56                           ` Eli Zaretskii
2016-04-15  8:13                             ` Alexis
2016-04-16 10:11                               ` Eli Zaretskii
2016-06-17 11:04 ` Phil Sainty
2016-06-17 13:27   ` Eli Zaretskii
2016-06-18  1:08     ` Phil Sainty
2016-06-18  8:10       ` Eli Zaretskii
2016-06-19 11:19         ` Phil Sainty
2016-06-26  0:50         ` Phil Sainty
2016-06-26 16:46           ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87shyrntpm.fsf@gmail.com \
    --to=flexibeast@gmail.com \
    --cc=20611@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    --cc=mark@hindley.org.uk \
    --cc=mbork@mbork.pl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).