[Openmcl-devel] Profiling lisp code

Philippe Sismondi psismondi at arqux.com
Wed Nov 18 16:55:58 UTC 2009


On 2009-11-18, at 11:36 AM, Taoufik Dachraoui wrote:

> Hi
>
> How do I profile lisp program to know how much time each called
> function takes
>
> Regards
> Taoufik
>
>
>
> _______________________________________________
> Openmcl-devel mailing list
> Openmcl-devel at clozure.com
> http://clozure.com/mailman/listinfo/openmcl-devel

Look  at the TIME function for quick-and-dirty checking.

More generally, look in Peter Seibel's great book Practical Common  
Lisp. For info on profiling look in this chapter online:

   http://www.gigamonkeys.com/book/conclusion-whats-next.html

and read the documentation on your lisp implementation. I use sbcl and  
ccl;  both implementations document their profiling functionality.

- P. -



More information about the Openmcl-devel mailing list