[Gegl-developer] question about speeding up gegl

Sven Neumann sven at gimp.org
Fri Jan 30 13:09:53 PST 2009


Hi,

On Thu, 2009-01-29 at 19:15 -0500, Nicolas Robidoux wrote:

> Is there a way of compiling GEGL so that resamplers (scale and rotate)
> run faster when used as BATCH filters (from xml scripts)?
> 
> We are writing an article in which, among other things, we benchmark
> by rotating large images and up- and downsampling them. So, we'd like
> to know if GEGL svn trunk can be compiled so that it runs faster,
> mostly so that we don't paint an unnecessarily slow picture of GEGL on
> the basis ofconfigure options which apply to another situation.

It would help if you could profile your use of GEGL. Given the knowledge
of where the processor spends most of its time, it should be easier to
find out if there are options you could tweak to improve this. Or do you
have the impression that the speed is I/O bound? In other words, does
GEGL use all of the CPU cycles available or is it trashing your disk?

You might find sysprof useful as a tool for profiling GEGL:
http://www.daimi.au.dk/~sandmann/sysprof/ It doesn't require you to
recompile the code you want to profile and there's chance that your
distro has sysprof packaged already.


Sven




More information about the Gegl-developer mailing list