Aubin Paul wrote:
> On Sun, Jul 06, 2003 at 09:42:57PM +0200, Dirk Meyer wrote:
>> Try again with the new drawstringframed. Freevo uses 10% of my Duron
>> 800 while playing audio with full info area and cover (skin info.fxd)
>
> That may be an improvement, but it still shouldn't take 10% of an
> 800mhz machine to show a timer and play music. Playing music on my
> Celeron 400 takes 3-4% and refreshing the timer shouldn't take, say
> 15% (I'm just assuming 800:400 is 10%:20%)

OK, let's see were the cpu goes....

[later] strange, it's in the skin code ... [hours later] the info_area
takes the longes time, even when I add a return right at the
beginning....strange [and again much later] What? if area == area_val
takes the most time....

Nooooooooooooooooooooooooooooo!

Found it. It made nice __cmp__ functions in xml_parser.py. I don't
need them (anymore?) and they compare an object at every detail. When
I remove it the cpu usage is down to 3% on my 800 Duron. That's ok, we
parse mplayer output and redraw the screen and have threads running. 


Dischi

-- 
Reality is for people who lack imagination.


-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
_______________________________________________
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to