[cairo-bugs] [Bug 10151] Add mediaLib support
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Mon Mar 5 03:37:27 PST 2007
http://bugs.freedesktop.org/show_bug.cgi?id=10151
------- Comment #8 from brian.cameron at sun.com 2007-03-05 03:37 PST -------
Created an attachment (id=8981)
--> (http://bugs.freedesktop.org/attachment.cgi?id=8981&action=view)
output without mediaLib
I have attached the performance output with and without mediaLib. You can see
that mediaLib does improve some functions.
I do notice that the functions that have MEDIALIB tunings aren't exercised a
great deal by this performance suite: fbCombineOverU called 3.67% of the time,
fbCombineMaskU 1.67% of the time, fbStore_a8 0.03% of the time, and
fbCombineInU not at all.
In fact, the performance test looks like this:
pixman_gradient_color 10.79%
fbFetchSourcePict 10.49%
fbCombineOverU 3.67%
gradientPixel 2.64%
sqrt 2.56%
_active_edges_to_traps 2.15%
memcpy 2.05%
fbCombineMaskU 1.67%
fbRasterizeEdges8 1.58%
_cairo_bo_sweep_line_validate 1.36%
_cairo_bo_edge_start_or_continue_trap 1.17%
_cairo_pixman_render_edge_init 1.17%
fbCombineOutReverseU 1.13%
UDiv 1.07%
pixman_fill_rect_32bpp 0.95%
qsort 0.93%
fbCombineAddU 0.91%
So, almost 50% of the total time is in just the above functions. I wonder if
the performance test coverage is a bit poor?
For reference, using mediaLib the percentages change as follows:
fbFetchSourcePict 16.26%
pixman_gradient_color 15.28%
gradientPixel 3.94%
sqrt 3.80%
_active_edges_to_traps 1.98%
memcpy 1.92%
fbRasterizeEdges8 1.48%
_cairo_bo_sweep_line_validate 1.12%
_cairo_bo_edge_start_or_continue_trap 1.11%
_cairo_pixman_render_edge_init 1.05%
mlib_ImageBlend_ONE_OMDA 1.05%
_cairo_uint64x64_128_mul 1.01%
UDiv 0.91%
mlib_ImageBlend_ZERO_DA 0.91%
fbCombineAddU 0.87%
Total runtime 86.531 seconds
--
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.
More information about the cairo-bugs
mailing list