From: David <david.boon@gmail.com>
To: emacs-devel@gnu.org
Cc: emacs-pretest-bug@gnu.org
Subject: Slow repainting, sluggish feeling emacs
Date: Mon, 12 May 2008 21:10:39 -0400 [thread overview]
Message-ID: <475204970805121810y5edc513by93a0fdbcd2ca557@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 2730 bytes --]
I recently re-built emacs 23 from cvs and there's a noticeable delay in many
repainting operations. Typing is sluggish and redrawing a buffer when
switching to it is noticeably slow.
So I tried to measure the difference. I started two versions of emacs with
--no-init, loaded nothing, and immediately ran elp-instrument-function on
"ibuffer". Here are the results:
emacs(GNU Emacs 23.0.60.1 (i386-mingw-nt5.1.2600) of 2008-02-20 on
U0103223-XPA)
Function Name Call Count Elapsed Time Average Time
ibuffer 1 0.0 0.0
GNU Emacs 23.0.60.1 (i386-mingw-nt5.1.2600) of 2008-05-12 on U0103223-XPA
Function Name Call Count Elapsed Time Average Time
ibuffer 1 0.032 0.032
I ran elp-instrument-function again and got:
ibuffer 1 0.047 0.047
The time difference is very small, but with a loaded up emacs config the
time becomes very noticeable.
I built emacs on windows-xp using cygwin(-mno-cygwin however), ming32-make.
Both versions of the build where 'configured' the same:
Here's the 'report-emacs-bug' important stuff:
In GNU Emacs 23.0.60.1 (i386-mingw-nt5.1.2600)
of 2008-05-12 on U0103223-XPA
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (3.4) --cflags -I../../include -msse3
-O3'
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: nil
value of $LC_CTYPE: nil
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: ENU
value of $XMODIFIERS: nil
locale-coding-system: cp1252
default-enable-multibyte-characters: t
Major mode: Fundamental
Minor modes in effect:
tooltip-mode: t
mouse-wheel-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
blink-cursor-mode: t
global-auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t
line-number-mode: t
transient-mark-mode: t
Recent input:
M-x M-p i <backspace> e l p 0 <backspace> - i n s t
r <tab> f u n <tab> <return> i b u f f e r <return>
M-x l o a d - l i <tab> <return> i b u f f e r <return>
M-x M-p M-p <return> M-p <return> M-x i b u f f e r
<return> q C-x b C-g C-x C-b <down> <down> <down> <down>
<down> <down> q C-x 1 M-x i b u f f e r - <M-backspace>
e l p - r e s u l <tab> <return> C-SPC <down> M-w q
M-x r e p o r <tab> <return>
Recent messages:
goto-history-element: Beginning of history; no preceding item
elp-instrument-function: ELP cannot profile autoloaded function: ibuffer
Loading ibuffer...done
Updating buffer list...
Formats have changed, recompiling...done
Mark set
Updating buffer list...done
Commands: m, u, t, RET, g, k, S, D, Q; q to quit; h for help
Quit
Mark set
[-- Attachment #2: Type: text/html, Size: 3779 bytes --]
next reply other threads:[~2008-05-13 1:10 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-13 1:10 David [this message]
2008-05-13 5:03 ` Slow repainting, sluggish feeling emacs dhruva
2008-05-13 5:10 ` dhruva
2008-05-13 18:40 ` Eli Zaretskii
2008-05-13 8:12 ` Eric Lilja
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=475204970805121810y5edc513by93a0fdbcd2ca557@mail.gmail.com \
--to=david.boon@gmail.com \
--cc=emacs-devel@gnu.org \
--cc=emacs-pretest-bug@gnu.org \
/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).