[Mono-bugs] [Bug 375236] [performance] Silverlight World map - slow

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Jun 25 13:51:21 EDT 2008


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

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





--- Comment #8 from Sebastien Pouliot <spouliot at novell.com>  2008-06-25 11:51:21 MDT ---
So what happened from caching bounds ?

Previously calling cairo_bentley_ottman_tessellate_polygon 7077 times resulted
in 1,602,767,429 calls to cairo_bo_event_compare_pointers.

Now a much longer test run calls cairo_bentley_ottman_tessellate_polygon
1,980,497  times, but "only" 214,549,358 times cairo_bo_event_compare_pointers.


Still computing extents with cairo is still at top, but it's no more because of
PathFigure::CacheBounds (called 227 times). 

The few Moonlight calls taking more time are (in order):
* Geometry::Draw called 1540 times (a bit more time than
_gradient_walker_pixel)
* set_surface (dependencyobject.cpp) called 3,533,784 times
* Type::IsSubsetOf called 6,410,455 times
* Value::Is called 3,996,941 times

Note: last 3 entries are related but, even together, they are a magnitude
smaller  compared to all the cairo calls being made.


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


More information about the mono-bugs mailing list