[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnash-dev] gnash performance-improved issue

From: strk
Subject: Re: [Gnash-dev] gnash performance-improved issue
Date: Wed, 15 Apr 2009 10:16:10 +0200

On Wed, Apr 15, 2009 at 03:40:50PM +0800, Aix wrote:

> performance result:
> this swf animation time length: 00:42
> after test, gnash with agg should take 1:30 time to complete playing.

I wouldn't base timing on animation length, gnash could as well have
problems with time sync. Check CPU usage to figure if gnash is really
being busy.

> According to my test case, agg::span_gradient just only calls 203903 
> times. but the timer % is 16.8. Is key point to cause not good performance?

Most likely yes. This adds a second known expensive operation: rendering
gradients. The other one was rendering bitmaps.

> But there are some strange, gnash::render_handler_agg time number is 
> 12.50, but there are not calls.

That one looks like the constructor, should have been called only once.
It's weird that it takes so much time.
Also check the call graph of the profiler output.


 Free GIS & Flash consultant/developer      ()  ASCII Ribbon Campaign  /\  Keep it simple! 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]