[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Elisp native profiler
From: |
Paul Eggert |
Subject: |
Re: Elisp native profiler |
Date: |
Sun, 30 Sep 2012 13:43:14 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:15.0) Gecko/20120912 Thunderbird/15.0.1 |
On 09/30/2012 01:13 PM, Stefan Monnier wrote:
>> I also like increasing the default sample interval to 10 ms.
>
> Any particular reason?
Conservativism. If the sample interval is too small,
bad things happen: Emacs goes catatonic or dumps
core or whatever. (I found this out by using a
sample interval of 1 microsecond -- silly, I know,
but I wanted to see what would happen....)
Whether an interval is "too small" depends on the
platform. The platforms most at risk are the older,
slower ones.
If 1 ms was ten times better than 10 ms, in terms of the profile
quality that it gave you, it'd be worth going with 1 ms
despite these potential (and maybe nonexistent) problems.
But it doesn't seem to be *that* much better.
All that being said, it's no big deal.
1 ms is fine too, I expect.
- Re: Elisp native profiler, (continued)
- 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
- Re: Elisp native profiler, Stefan Monnier, 2012/09/30
- Re: Elisp native profiler,
Paul Eggert <=
- Re: Elisp native profiler, Stefan Monnier, 2012/09/30
- Re: Elisp native profiler, Paul Eggert, 2012/09/30
- Re: Elisp native profiler, Tomohiro Matsuyama, 2012/09/30
- Re: Elisp native profiler, Tomohiro Matsuyama, 2012/09/30
- Re: Elisp native profiler, Tomohiro Matsuyama, 2012/09/26
- Re: Elisp native profiler, Paul Eggert, 2012/09/26
- Re: Elisp native profiler, Ivan Andrus, 2012/09/26
- Re: Elisp native profiler, Paul Eggert, 2012/09/26
- Re: Elisp native profiler, Eli Zaretskii, 2012/09/25
- Re: Elisp native profiler, Stefan Monnier, 2012/09/25