[cairo] Very slow performance

Chris fltk at functionalfuture.com
Thu Dec 23 12:20:50 PST 2004


I profiled the entire set of libraries and one thing sticks out greatly:

Each sample counts as 0.01 seconds.
  %      self              self     total
time   seconds    calls  ms/call  ms/call  name
90.93   174.85     6092    28.70    28.70  pixman_fill_rect_32bbp
  1.15     2.21   141053    0.02     0.06  IcRasterizeTrapezoid
  0.77     1.49  1963553    0.00     0.00  IcBuildCompositeOperand

At least in my test here, pixman_fill_rect_32bbp is by far the biggest
user of time.

Are there possibly some super-fast routines that would work here?
Filling a rectangle is so common that I would think there are a ton of
options here.  Possibly using hardware acceleration since just about
every computer has some sort of blitter available.

-- 
// Chris




More information about the cairo mailing list