[Openmcl-devel] Output from SAM profiler in CCL

Paul Rodriguez pmr at ruricolist.com
Wed Apr 19 20:14:38 PDT 2017

In my experience with using Sam, that much time spent in specifier-type
usually means that I'm calling typep somewhere at runtime. My understanding
is that CCL is good at open-coding calls to typep with a constant type
argument, but that runtime use of typep is deathly slow.

Paul Rodriguez.

On Wed, Apr 19, 2017 at 3:41 PM, Craig Lanning <craig.t.lanning at gmail.com>

> Here is the output from comparing one pair of Schema files:
> 13%  CCL::SPECIFIER-TYPE  <no source>
>  8%  CCL::VALUES-SPECIFIER-TYPE  <no source>
>  6%  SXHASH  <no source>
>  5%  EEK::EXP-SYMBOL  (defun EXP-SYMBOL (stream char...
>  4%  NIL  <no source>
>  4%  TYPEP  <no source>
> EEK::EXP-SYMBOL is a function in the custom Lisp Reader that builds the
> tokens while reading the schema files.
> Is CCL::SPECIFIER-TYPE a function related to dispatching methods within
> a generic function?  I use a lot of generic functions and methods.  Is
> there a way to precompile all of the generic function dispatch code?
> Is there anything I can do collect more info?  This doesn't look very
> useful to me.
> If it was spending a lot of time in methods of a specific generic
> function, would that information show up here?
> Craig
> _______________________________________________
> Openmcl-devel mailing list
> Openmcl-devel at clozure.com
> https://lists.clozure.com/mailman/listinfo/openmcl-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clozure.com/pipermail/openmcl-devel/attachments/20170419/addac2fd/attachment.htm>

More information about the Openmcl-devel mailing list