On Fri, 2 Jun 2006, David Berry wrote:
> On Thu, 1 Jun 2006, Tim Jenness wrote:
>
>> On Thu, 1 Jun 2006, David Berry wrote:
>>
>>> Having taken out the database stuff, there seems to be no single obvious
>>> bottle neck.
>>
>> What is the AGI_SLAB stuff doing? That accounts for a 1/3 of the overhead.
>
> I find that very hard to believe - all AGI_SLAB does is to store a label
> with an AGI picture. It's called once for every spectrum. When I profiled
> clinplot using gprof it said that agi_slab was using 0.5% of the time.
> Profilers!!!!!
>
Actually, most of that is in the dat_get0c inside agi_slab.
Caching the style information in kpg1_asset will help a lot.
--
Tim Jenness
JAC software
http://www.jach.hawaii.edu/~timj
|