[Mono-bugs] [Bug 362022] [performance] Animation is slow in Bubble mark with 32+ balls

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Jun 13 09:03:37 EDT 2008


https://bugzilla.novell.com/show_bug.cgi?id=362022

User spouliot at novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=362022#c8





--- Comment #8 from Sebastien Pouliot <spouliot at novell.com>  2008-06-13 07:03:37 MDT ---
I made a patch* to cache PathFigure::ComputeBounds. As expected the data looks
completely different.

* PathFigure::ComputeBounds completely disappear from the data. 

* pixmanFetchSourcePict and _gradient_walker_pixel are both, individually,
bigger than _cairo_bentley_ottmann_tessellate_polygon (which was not the case
before). The later is still present because it's used when drawing
(stroke/fill) not just when computing bounds.

    -> caching the shapes that make the balls would greatly reduce those 3
calls.

Sadly this big data change does not result in a big FPS change. I gain about
1-2fps on SLED10 x86 and 2-3fps on openSUSE10.3 x86_64. Not sure why I still
get a big difference with the performance we had last fall :(


* needs more testing before committing.


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list