[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:40:36 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux) |
> No, because C-level function calls like Fvertical_motion could never been
> listed in backtrace_list. That's why byte-code often appears at top in a
> profiling result.
If Fvertical_motion is often called directly from C, we can make it so
that this function registers itself explicitly on backtrace_list, like
we do with redisplay_internal.
> How do you think about inserting a backtrace building code (like
> Ffuncall does) into DEFUN macro expansion if specified so in configure
> script, for example? This could be fully portable, but involves
> some overhead.
I'd rather not force the user to choose at compile-time, so instead I'd
like to always add this overhead, but only at those places where it's
cheap and useful, because the function does a fair bit of work.
Stefan
- Re: Elisp native profiler, (continued)
- Re: Elisp native profiler, Tomohiro Matsuyama, 2012/09/28
- Re: Elisp native profiler, Eli Zaretskii, 2012/09/28
- Re: Elisp native profiler, Stefan Monnier, 2012/09/28
- Re: Elisp native profiler, Eli Zaretskii, 2012/09/28
- Re: Elisp native profiler, Stefan Monnier, 2012/09/28
- Re: Elisp native profiler, Eli Zaretskii, 2012/09/28
- Re: Elisp native profiler, Stefan Monnier, 2012/09/28
- Re: Elisp native profiler,
Stefan Monnier <=
- Re: Elisp native profiler, Stefan Monnier, 2012/09/26
- Re: Elisp native profiler, Tomohiro Matsuyama, 2012/09/26
- Re: Elisp native profiler, Tomohiro Matsuyama, 2012/09/28
- Re: Elisp native profiler, Eli Zaretskii, 2012/09/28
- Re: Elisp native profiler, Paul Eggert, 2012/09/30
- Re: Elisp native profiler, Eli Zaretskii, 2012/09/30
- Re: Elisp native profiler, Paul Eggert, 2012/09/30
- Re: Elisp native profiler, Stefan Monnier, 2012/09/28
- Re: Elisp native profiler, Tomohiro Matsuyama, 2012/09/30
- Re: Elisp native profiler, Paul Eggert, 2012/09/30