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

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

bug#233: closed by Jason Rumney <address@hidden> (Slow repainting, slugg


From: David
Subject: bug#233: closed by Jason Rumney <address@hidden> (Slow repainting, sluggish feeling emacs)
Date: Sun, 31 Aug 2008 08:39:17 -0400

Jason, I was just following up on this bug.  I noticed that it is still "done", but I think there are a number of noticible delays still with the latest trunk.  Should I open a new bug?

Thanks, David

On Sun, Aug 3, 2008 at 9:55 PM, David <address@hidden> wrote:
Hi Jason , I've built latest and and things are better, but noticeably sluggish still.  Especially on larger files, but not significantly large.  For example, I have a file that is 218 lines long, if I hold down C-n and count, I can count to 10 before the cursor moves anywhere, and it doesn't actually do any moving until I release the keys. 

If I do the same 'test' with an older emacs, built from CVS on 02-20-2008, I get immediate screen scrolling and cursor movement.  

 -David

On Wed, Jul 30, 2008 at 6:15 PM, Emacs bug Tracking System <address@hidden> wrote:

This is an automatic notification regarding your bug report
which was filed against the emacs,w32 package:

#233: Slow repainting, sluggish feeling emacs

It has been closed by Jason Rumney <address@hidden>.

Their explanation is attached below along with your original report.
If this explanation is unsatisfactory and you have not received a
better one in a separate message then please contact Jason Rumney <address@hidden> by
replying to this email.


--
233: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=233
Emacs Bug Tracking System
Contact address@hidden with problems


---------- Forwarded message ----------
From: Jason Rumney <address@hidden>
To: address@hidden
Date: Wed, 30 Jul 2008 23:09:06 +0100
Subject: Slow repainting, sluggish feeling emacs
reassign 233 emacs,w32
thanks

It seems that the performance issues are resolved by using uniscribe's
built in caching for glyph encoding, and avoiding explicit encoding in
the gdi backend.



---------- Forwarded message ----------
From: David <address@hidden>
To: address@hidden
Date: Mon, 12 May 2008 21:10:39 -0400
Subject: Slow repainting, sluggish feeling emacs
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 MailScanner warning: numerical links are often malicious: 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 MailScanner warning: numerical links are often malicious: 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 MailScanner warning: numerical links are often malicious: 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





reply via email to

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