[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Elisp native profiler
From: |
Tomohiro Matsuyama |
Subject: |
Re: Elisp native profiler |
Date: |
Fri, 28 Sep 2012 18:14:43 +0900 |
The default value of profiler-sample-interval is now 1, but
I think it is too high frequent. I've profiled the following
code, and found there is a huge mismatch between 1 and 10 of
profiler-sample-interval value (1000ms vs 4000ms).
(defun tak (x y z)
(if (<= x y)
z
(tak (tak (1- x) y z)
(tak (1- y) z x)
(tak (1- z) x y))))
(byte-compile 'tak)
(benchmark 1 '(tak 20 12 2))
How about setting the value to 9, for example?
Tomohiro
- 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, 2012/09/28
- Re: Elisp native profiler, Stefan Monnier, 2012/09/26
- Re: Elisp native profiler, Tomohiro Matsuyama, 2012/09/26
- Re: Elisp native profiler,
Tomohiro Matsuyama <=
- 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, 2012/09/30
- Re: Elisp native profiler, Stefan Monnier, 2012/09/30