Re: Speed of Quartz (was: optimizing compilers)
Re: Speed of Quartz (was: optimizing compilers)
- Subject: Re: Speed of Quartz (was: optimizing compilers)
- From: Rainer Brockerhoff <email@hidden>
- Date: Mon, 4 Feb 2002 22:05:18 -0200
>
Date: Mon, 4 Feb 2002 10:18:03 -0800
>
From: email@hidden
>
> The outcome is that things often get surprisingly slow, even when no
>
> drawing at all is involved. The first time the user asks for my
>
> browser's contextual menu it takes anything from 5 to 10 seconds (with
>
> the rainbow cursor spinning) for the menu to appear - it seems to get
>
> cached afterwards, but that seems excessive to me, and I have yet to
>
> find out how to pre-load it without bogging down application
>
> initialization.
>
>
Rainer, perhaps you can do some of the work involved in a background
>
thread just after startup?
>
But if I were you, I would first do a profile to find out what is
>
actually so slow about this. This sounds highly suspicious to me.
Yes, I'm investigating to see wht I could do in a background thread just after startup... although there already are a couple of those, and startup itself is getting slower with every release :-)
The profile idea is interesting, I'll try to check what's going on. On first evidence it seems the time is all spent inside Cocoa itself, not in my code...
--
Rainer Brockerhoff <email@hidden>
Belo Horizonte, Brazil
"I love deadlines. I love the whooshing noise they make as they go by" (Douglas Adams)
http://www.brockerhoff.net/ (updated Jan. 2002)