[Openmcl-devel] Shark profiling works with openmcl!
Hamilton Link
hamlink at cs.unm.edu
Sun Oct 17 13:38:42 PDT 2004
Attention all, good news! I have gone back and forth with the shark
people at Apple, I sent them a shrink-wrapped bug that was preventing
shark from reporting lisp symbol names for functions, and... they fixed
the problem!
Here is the file I use to demonstrate how to use shark to profile your
code, a screen shot of what the result looks like, and the .spatch file
that was generated in the process (for a syntactic example). Obviously
you'll want to do things a bit differently, and if I come up with a
swanky API for putting a set of packages and other symbols and named
lambdas into a .spatch file before someone else does, I'll post that
too.
(btw, sharkloopfn in the image is just a function I defined as a test
that was guaranteed to bubble to the top, it has nothing to do with
interfacing to shark)
This works as of 4.0.0b11 as far as the CHUD/Shark people say, and I've
confirmed that it works with the GM release, 4.0.0.
Happy profiling...
h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sharktest.lisp
Type: application/octet-stream
Size: 1492 bytes
Desc: not available
URL: <https://lists.clozure.com/pipermail/openmcl-devel/attachments/20041017/af763ea4/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dppccl_879.spatch
Type: application/octet-stream
Size: 76 bytes
Desc: not available
URL: <https://lists.clozure.com/pipermail/openmcl-devel/attachments/20041017/af763ea4/attachment-0001.obj>
-------------- next part --------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sharkworking.tiff
Type: image/tiff
Size: 154612 bytes
Desc: not available
URL: <https://lists.clozure.com/pipermail/openmcl-devel/attachments/20041017/af763ea4/attachment.tiff>
More information about the Openmcl-devel
mailing list