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

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

Re: Tracking down why emacsclient -c is so slow


From: Alex Bennee
Subject: Re: Tracking down why emacsclient -c is so slow
Date: Sat, 22 Aug 2009 12:27:46 +0100

2009/8/22 A.Politz <politza@googlemail.com>:
> On Aug 22, 10:10 am, Alex Bennee <kernel-hac...@bennee.com> wrote:
<snip>
>
>>after-make-frame-functions at Fri Aug 21 19:18:21 2009
>>server-visit-hook at Fri Aug 21 19:18:25 2009
>>(No files need saving)
>
> This together seem to imply, that the time is spent in one of the
> after-make-frame-functions.
>
> Have you done this with 'emacs -Q --daemon' ?
>

Yes, it does seem to be something introduced by my .emacs frame
modification functions. Adding some additional instrumentation made it
go away although I have no idea why [1].

> elp-instrument-list won't allow to profile all functions,
> but you can do it anyway. Expect your emacs to be broken
> afterwards.
>
> (progn
>  (require 'elp)
>  (elp-instrument-list
>   (mapcar #'intern
>           (all-completions "" obarray
>                            #'(lambda (sym)
>                                (and (elp-profilable-p sym)
>                                     (not (eq sym '+))))))))

Hmm, my version of elp doesn't have the elp-profilable-p

[1] http://www.bennee.com/~alex/news.php?wl_mode=more&wl_eid=1292
-- 
Alex, homepage: http://www.bennee.com/~alex/
http://www.half-llama.co.uk




reply via email to

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