[Top][All Lists]

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

Re: Elisp native profiler

From: Stefan Monnier
Subject: Re: Elisp native profiler
Date: Fri, 28 Sep 2012 08:43:00 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux)

> If the overhead can be avoided when not profiling (e.g., depending on
> some global variable), that would be acceptable, I think.

No, I think some of the overhead can't be chosen at runtime (e.g. the
`struct backtrace' will always use up stack space), and adding a test on
a global variable to functions like `car' doesn't sound like
a good idea.
IOW I don't want to add it flat out to all DEFUN functions.  To some of
them, yes, th, and to some non-DEFUN functions as well.


reply via email to

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