3 Mar 2006 08:21
Performance issues
Apostolos Manolitzas <manap <at> intracom.gr>
2006-03-03 07:21:36 GMT
2006-03-03 07:21:36 GMT
Hello,
I use emacs GNU Emacs 21.4.1 with the latest cedet suite & speedbar.
But the performance during editing is devastating.
I have a C++ project with almost 100 cpp files.
1. Emacs is taking ages to start because it parses every opened file
again and again.
2. When I do editing, emacs freeze for 1 or 2 secs, when i try to save
or even when I move around the edited part
of the buffer.
3. Deactivating semantic and ecb everything works smoothly again.
My PC is a Intel(R) Pentium(R) 4 CPU 2.40GHz
and in the .emacs configuration file I have
(setq semantic-load-turn-everything-on t)
(setq semantic-load-turn-useful-things-on t)
(require 'semantic-load)
(setq semantic-imenu-auto-rebuild-directory-indexes nil)
(setq imenu-auto-rescan nil)
(require 'ecb)
(setq semanticdb-project-roots
(list "~/projects/src/FOO/NBANG"
"~/projects/src/FOO/PBA"))
What I do wrong and the performance is so bad?
thanks in advanced,
(Continue reading)
Ciao,
Klaus
David PONCE wrote:
> Hi Klaus,
>
>> In my Emacs-setup i had a call like:
>>
>> (global-semantic-idle-scheduler-mode -1)
>>
>> to try out what happens with ECB when a user has switched off this
>> mode.
>>
>> But, when i run ECB and ECB calls semantic-fetch-tags (for testing i
>> have programmed ECB so that if the idle-mode is off then it always
>> uses semantic-fetch-tags instead of semantic-fetch-available-tags -
>> but i will deactivate this after testing) then the idle-mode seems to
>> somehow "automatically" switched on for that file - see the output of
>> C-h v semantic-idle-scheduler-mode:
>>
>> semantic-idle-scheduler-mode's value is t Local in buffer
>> ecb-method-browser.el; global value is nil
>>
>> Do you have an explanation for this behavior.?? Who/What switches on
RSS Feed