On Wed, Feb 06, 2002 at 06:56:57PM +0900, Stephen J. Turnbull wrote:
Please do. I'd prefer you do it with 21.4.6 rather than the
21.5
branch. Ben is about to merge in about 70,000 lines of code to 21.5,
and there's just no way we'd find anything in that.
Please try profiling (1) the font-lock operation itself and (2) the
movement command that is causing problems. C-h f profile for more
information.
alright, here is me trying to indent the second argument declaration of
a member function of a class of 7000 lines of java:
(the last function)
public void bla(boolean first -->, pressed
(while profiling the , press)
Function Name Ticks %/Total Call Count
================== ===== ======= ==========
scan-lists 1183 91.351 998
scan-sexps 87 6.718 996
re-search-backward 23 1.776 3
byte-code 2 0.154 1019
---------------------------------------------------
Total 1295 100.000
One tick = 1 ms
for info, it takes about 2 seconds
public void bla(boolean first,
-->TAB pressed
(while profiling the TAB press)
Function Name Ticks %/Total Call Count
================== ===== ======= ==========
scan-lists 1174 95.138 500
scan-sexps 43 3.485 499
re-search-backward 16 1.297 2
byte-code 1 0.081 515
---------------------------------------------------
Total 1234 100.000
One tick = 1 ms
WARNING: Error checking is turned on in this XEmacs. This might make
the measurements very unreliable.
for info it takes about 25 seconds. (p3 1Ghz, 256MRAM, system inactive
otherwise)
i used profile-key-sequence in the two tests.
here is my Installation:
uname -a: Linux westmalle 2.4.9-ac10 #1 Fri Sep 21 14:40:17 CEST 2001
i686 unkno
wn
./configure '--with-dialogs=athena' '--with-widgets=athena'
'--with-mule' '--prefix=/opt/xemacs' '--with-xpm'
'--with-gif' '--with-jpeg' '--with-tiff' '--with-png'
'--with-x11'
XEmacs 21.5-b4 "bamboo" configured for `i686-pc-linux'.
Compilation / Installation:
Source code location: /opt/xemacs/src/xemacs-21.6
Installation prefix: /opt/xemacs
Operating system description file: `s/linux.h'
Machine description file: `m/intel386.h'
Compiler: gcc -g -O3 -Wall -Wno-switch -Winline -Wmis
sing-prototypes -Wsign-compare -Wshadow
Relocating allocator for buffers: no
GNU version of malloc: yes
- Using Doug Lea's new malloc from the GNU C Library.
Linking with `-z nocombreloc'.
- Consider configuring with --pdump.
Window System:
Compiling in support for the X window system:
- X Windows headers location: /usr/X11R6/include
- X Windows libraries location: /usr/X11R6/lib
- Handling WM_COMMAND properly.
Compiling in support for the Athena widget set:
- Athena headers location: X11/Xaw
- Athena library to link: Xaw
Using Lucid menubars.
Using Lucid scrollbars.
Using Athena dialog boxes.
Using Athena native widgets.
TTY:
Compiling in support for ncurses.
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.
Sound:
Compiling in support for sound (native).
Compiling in support for NAS (network audio system).
Compiling in support for ESD (Enlightened Sound Daemon).
Databases:
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 "dot-locking" mail spool file locking method.
Other Features:
Inhibiting IPv6 canonicalization at startup.
Compiling in support for dynamic shared object modules.
Compiling in support for extra debugging code.
WARNING: ---------------------------------------------------------
WARNING: Compiling in support for runtime error checking.
WARNING: XEmacs will run noticeably more slowly as a result.
WARNING: Error checking is on by default for XEmacs beta releases.
WARNING: ---------------------------------------------------------
--
# Stef Epardaud, # There is no limit to the power of computing ...
# Java Defeater # ... except mankind maybe ?
# Earth # Lunatech Research,
# Solar System # soon we'll quit researching and start finding...