|--==> "MT" == Matt Tucker <tuck(a)whistlingfish.net> writes:
MT> I assume the patch to autoload.el is the one I suggested? Is it worth
That's correct.
MT> As for the new font-lock.el chewing up the CPU, I haven't been able to
MT> reproduce this. Could you possibly point me in the right direction?
MT> (Either send me your (describe-installation) output, or dump XEmacs
MT> while the CPU is hung and give me a stack backtrace; or both.) I'd like
MT> to get this fixed; I just need somewhere to start.
I profiled it by:
M-x clear-profiling-info RET
M-x profile-key-sequence RET
C-x C-f somefile.el RET
M-x profile-results RET
The results:
,----[ pre-patch ]
| Function Name Ticks %/Total Call Count
| ============================= ===== ======= ==========
| (in garbage collection) 25 60.976
| redisplay-echo-area 3 7.317 213
| insert-string 2 4.878 213
| file-exists-p 1 2.439 6
| match-data 1 2.439 220
| erase-buffer 1 2.439 227
| fume-find-next-function-name 1 2.439 212
| insert-file-contents-internal 1 2.439 2
| vectorp 1 2.439 1298
| fume-sort-by-name 1 2.439 1289
| re-search-forward 1 2.439 214
| string-match 1 2.439 1322
| file-writable-p 1 2.439 3
| format 1 2.439 1298
| --------------------------------------------------------------
| Total 41 100.000
`----
,----[ post-patch ]
| Function Name Ticks %/Total Call Count
| ===================================== ===== ======= ==========
| redisplay-echo-area 3 16.667 213
| string-match 3 16.667 1322
| insert-file-contents-internal 2 11.111 2
| re-search-forward 2 11.111 214
| forward-sexp 2 11.111 422
| file-attributes 1 5.556 4
| store-match-data 1 5.556 219
| set-extent-initial-redisplay-function 1 5.556 120
| featurep 1 5.556 3
| fume-replace-str 1 5.556 844
| format 1 5.556 1296
| ----------------------------------------------------------------------
| Total 18 100.000
`----
,----[ M-x describe-installation (wordwrapped for readability) ]
| uname -a: Linux slackware 2.4.1 #2 Fri Feb 2 20:18:19 EST 2001 i686 unknown
|
| ./configure '--dynamic=yes' '--with-toolbars=yes'
| '--with-wmcommand=yes' '--with-athena=next'
'--with-menubars=lucid'
| '--with-scrollbars=athena' '--with-dialogs=athena'
| '--with-widgets=athena' '--with-sound=native,noesd'
'--with-pop'
| '--with-modules' '--with-site-lisp=yes'
'--with-site-modules=yes'
| '--pdump' '--with-mule' '--error-checking=none'
'--use-union-type'
| '--with-clash-detection' '--extra-verbose'
| '--site-libraries=/usr/local/BerkeleyDB.3.1/lib'
|
|
| XEmacs 21.2-b44 "Thalia" configured for `i686-pc-linux'.
|
|
| Compilation / Installation:
| Source code location: /usr/local/src/xemacs-21.2
| Installation prefix: /usr/local
| Additional libraries: /usr/local/BerkeleyDB.3.1/lib
| Operating system description file: `s/linux.h'
| Machine description file: `m/intel386.h'
| Compiler: gcc -g -O3 -Wall -Wno-switch \
| -Winline -Wmissing-prototypes -Wshadow
| Relocating allocator for buffers: no
| GNU version of malloc: yes
| - Using Doug Lea's new malloc from the GNU C Library.
|
| Window System:
| Compiling in support for the X window system:
| - X Windows headers location: /usr/X11/include
| - X Windows libraries location: /usr/X11/lib
| - Handling WM_COMMAND properly.
| Compiling in support for the Athena widget set:
| - Athena headers location: X11/neXtaw
| - Athena library to link: neXtaw
| Using Lucid menubars.
| Using Athena scrollbars.
| Using Athena dialog boxes.
| Using Athena native widgets.
|
| TTY:
| Compiling in support for ncurses.
| Compiling in support for GPM (General Purpose Mouse).
|
| Images:
| Compiling in support for GIF images (builtin).
| Compiling in support for XPM images.
| Compiling in support for PNG images.
| Compiling in support for JPEG images.
| Compiling in support for TIFF images.
| Compiling in support for X-Face message headers.
|
| Sound:
| Compiling in support for sound (native).
|
| Databases:
| Compiling in support for Berkeley database.
| Compiling in support for GNU DBM.
|
| Internationalization:
| Compiling in support for Mule (multi-lingual Emacs).
| Compiling in support for XIM (X11R5+ I18N input method).
| - Using raw Xlib to provide XIM support.
|
| Mail:
| Compiling in support for POP mail retrieval.
| Compiling in support for "dot-locking" mail spool file locking method.
|
| Other Features:
| Compiling in support for dynamic shared object modules.
| Using the union type for Lisp_Objects.
| Using the new portable dumper.
| Compiling in support for extra debugging code.
`----
I hope this is helpful to you.
--
|---<Steve Youngs>---------------<GnuPG KeyID: 9E7E2820>---|
| XEmacs - It's not just an editor. |
| It's a way of life. |
|------------------------------------<youngs(a)xemacs.org>---|