[Openmcl-devel] Profiling Parenscript compilation

Gary Byers gb at clozure.com
Wed Dec 3 12:06:26 PST 2008


On Wed, 3 Dec 2008, Scott Bell wrote:

> Hi folks,
>
> We have a series of Parenscript `scripts' that seem to be quite
> expensive to
> compile under most Lisps. SBCL takes between 8 and 12 seconds, and CCL
> takes up to 90 seconds.
>
> In my attempts to locate the most expensive calls, I have used CHUD-
> METERING,
> Apple's Instruments profiler, and out-of-the-box Shark. Since these do
> not
> seem to be able to profile Lisp functions, I'm at a bit of a loss on
> how to proceed.
>
> Does anyone have any advice?

Use CHUD 4.5.0, and read ccl/library/chud-profiling.txt ?

CHUD 4.5.0 matches what was released with XCode 3.0.  Later versions seem
to break support for using ".spatch" files to name otherwise anonymous
memory regions (like lisp functions.)

>
> Thanks,
>
> - Scott Bell
> _______________________________________________
> Openmcl-devel mailing list
> Openmcl-devel at clozure.com
> http://clozure.com/mailman/listinfo/openmcl-devel
>
>



More information about the Openmcl-devel mailing list