Pulsating buttons CPU load (Was: Unjustified CPU load with a simple Pulsating buttons CPU load (Was: Unjustified CPU load with a simple
Pulsating buttons CPU load (Was: Unjustified CPU load with a simple Pulsating buttons CPU load (Was: Unjustified CPU load with a simple
- Subject: Pulsating buttons CPU load (Was: Unjustified CPU load with a simple Pulsating buttons CPU load (Was: Unjustified CPU load with a simple
- From: ettore <email@hidden>
- Date: Sun, 08 Jun 2003 09:38:14 -0700
On 2003-06-08 16:38:06 +0100 Ben Dougall <email@hidden> wrote:
On Sunday, June 8, 2003, at 04:06 pm, ettore wrote:
On 2003-06-08 14:45:46 +0100 Ben Dougall <email@hidden> wrote:
On Sunday, June 8, 2003, at 04:07 am, ettore wrote:
Then I noticed that this 20% - 30% load happens with all applications who have a document with a "flashing" button, when they are the active application and that document is the active document >>> !
hiyer, i'm just curious: do you mean the animated, pulsating buttons?
that's right. Open a new blank TextEdit document, type something, then try to close it: a drop down sheet will come out. Open the terminal with top, and click on the TextEdit doc: you should see a load on the TextEdit app of about 20-30%. If you select any other window the load goes away.
I think this is _not_ cool! I'd like to know the reasons behind this excessive use of CPU time: I can't undestand. On slower machines it's pretty noticeable.
yup, that is quite surprising. i do know that those pulsating buttons use a separate thread - that's how animation is achieved while everything else continues as expected. so the separate thread aspect is probably part of the explanation. i'm not sure on the details though.
Thanks for the insight- I forgot to say that once I had removed the pulsating button, I only had one thread. The 2nd thread (the one related to the pulsating button) was the busy one. I guess that's a price to pay to have an aqualicious interface.
I wonder if the performance of the pulsating buttons can be improved, or the pulsation suppressed programmatically.
Ettore
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.