[Openmcl-devel] Output from SAM profiler in CCL
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.
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?
> Openmcl-devel mailing list
> Openmcl-devel at clozure.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Openmcl-devel