[Top][All Lists]

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

Re: Elisp native profiler

From: Eli Zaretskii
Subject: Re: Elisp native profiler
Date: Wed, 03 Oct 2012 19:39:09 +0200

> From: Stefan Monnier <address@hidden>
> Date: Wed, 03 Oct 2012 08:50:46 -0400
> Cc: Emacs Development <address@hidden>
> > Going with a 1 ms sampling interval made Emacs 3x slower.
> That's weird, tho.  On my lowly fit-pc2, the overhead was just 1% in
> my test.  Of course, maybe the setitimer ended up firing at a much
> slower rate?

Add a call to gettimeofday to the signal handler and time it.  Then
you'd now.

reply via email to

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