[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, 26 Sep 2012 09:35:50 +0200 |
> Date: Wed, 26 Sep 2012 15:16:25 +0900
> From: Tomohiro Matsuyama <address@hidden>
> Cc: Paul Eggert <address@hidden>, address@hidden
>
> Let me explain here three methods for cpu profiling and their pros and cons.
>
> 1. setitimer
> Pros: Easy to implement, Accuracy, C-level backtrace
> Cons: Non-portable
>
> 2. threads
> Pros: Almost portable
> Cons: Multithread programming, Lack of C-level backtrace
>
> 3. atimers
> Pros: Fully portable, Easy to implement
> Cons: Stop the world, Lack of C-level backtrace, Inaccuracy
I don't understand why do you say that threads mean no C-level
backtrace, please explain. Also, atimers are not fully portable
because they are based on SIGALRM, which is not universally
available. Perhaps you thought only about a subset of the systems
supported by Emacs.
- Elisp native profiler, Stefan Monnier, 2012/09/24
- Re: Elisp native profiler, Juanma Barranquero, 2012/09/25
- Re: Elisp native profiler, Eli Zaretskii, 2012/09/25
- Re: Elisp native profiler, Eli Zaretskii, 2012/09/25
- Re: Elisp native profiler, Stefan Monnier, 2012/09/25
- Re: Elisp native profiler, Paul Eggert, 2012/09/25
- Re: Elisp native profiler, Eli Zaretskii, 2012/09/25
- Re: Elisp native profiler, Stefan Monnier, 2012/09/25
- Re: Elisp native profiler, Tomohiro Matsuyama, 2012/09/26
- Re: Elisp native profiler,
Eli Zaretskii <=
- Re: Elisp native profiler, Tomohiro Matsuyama, 2012/09/26
- Re: Elisp native profiler, Eli Zaretskii, 2012/09/26
- Re: Elisp native profiler, Tomohiro Matsuyama, 2012/09/26
- Re: Elisp native profiler, Eli Zaretskii, 2012/09/27
- Re: Elisp native profiler, Eli Zaretskii, 2012/09/27
- Re: Elisp native profiler, Stefan Monnier, 2012/09/27
- Re: Elisp native profiler, Eli Zaretskii, 2012/09/27
- Re: Elisp native profiler, Eli Zaretskii, 2012/09/27
- Re: Elisp native profiler, Stefan Monnier, 2012/09/27
- Re: Elisp native profiler, Eli Zaretskii, 2012/09/27