emacs-devel
[Top][All Lists]
Advanced

[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.



reply via email to

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