Discussion:
my emacs cpu usage so high, alway about 50%, how can i locate the problem? thanks
(too old to reply)
Jiang Songheng
2014-10-16 09:45:39 UTC
Permalink
my emacs cpu usage so high, alway about 50%, how can i locate the problem? thanks
Jiang Songheng
2014-10-16 09:49:10 UTC
Permalink
my emacs is GNU Emacs 23.4.1 (i386-mingw-nt6.1.7601) run on win7.
Jiang Songheng
2014-10-17 01:22:24 UTC
Permalink
Post by Jiang Songheng
my emacs is GNU Emacs 23.4.1 (i386-mingw-nt6.1.7601) run on win7.
I set "toggle-debug-on-quit", get such information:

Debugger entered--Lisp error: (quit)
recursive-edit()
byte-code("\306 @\307=\203!
Michael Heerdegen
2014-10-17 15:01:30 UTC
Permalink
Post by Jiang Songheng
Debugger entered--Lisp error: (quit)
recursive-edit()
byte-code(...)
Is that the complete backtrace?

Anyway, the best way to invest such problems is probably profiler.el:
M-x profiler-start, M-x profiler-report. Use CPU mode.

See (info "(elisp) Profiling").


Michael.

Loading...