[cairo] Regarding Cairo Optimization for ARM PXA320

Dan Amelang daniel.amelang at gmail.com
Mon Oct 29 09:48:47 PDT 2007


On 10/28/07, Keith Packard <keithp at keithp.com> wrote:
>
> On Mon, 2007-10-29 at 10:31 +0530, Sandeep Agrawal wrote:
> > Hi,
> >
> > Actually I am unable to generate profiling data because of certain problems
> > with the platform I am working on. I don't have permissions to create a new
> > device and so opcontrol --init fails.
>
> If you can't generate profiling using oprofile, sysprof or even gprof,
> it's going to be even harder to make a lot of progress in optimizing the
> library. It's difficult to figure out how to reduce CPU usage without
> having some idea of where the CPU is spending time.

I would add "valgrind --tool=callgrind" to that list of profilers. And
I agree with Keith 100%, optimization through guesswork is very often
a waste of time.

Dan


More information about the cairo mailing list