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

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

Re: Profiling *entire* Emacs


From: Nordlöw
Subject: Re: Profiling *entire* Emacs
Date: Mon, 31 Mar 2008 07:41:16 -0700 (PDT)
User-agent: G2/1.0

On 31 Mar, 13:44, Nordlöw <per.nord...@gmail.com> wrote:
> Hey, there!
>
> I looking for a way to profile (instrument) entire Emacs preferrably
> including both built-in- and lisp-functions. Is this possible? The
> instrumentation built into Emacs does not seem be built for profiling
> entire Emacs. Is there another way? Or is the only feasable way to
> build Emacs with debug-symbols and run it through gprof or oprofile?
>
> The main reason for desire is that my fancy additional font-locking
> for different classes of operators, braces, function calls, etc are
> very useful but far too slow.
>
> Thanks in advance,
> Nordlöw

At least for the x86 port couldn't we use a uint64_t performance
counter (using the x86 instruction rdtsc) that measures the number of
clock cycles the CPU has spent inside the function?

/Nordlöw


reply via email to

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