Hi,

To aid debugging this, we need to get some system profiles with the
offending code running.

Please can anyone interested to help identify the problem try the
following:

install sysprof (either apt-get install sysprof on Debian / Redhat), or
perhaps get the sources from here:

http://www.daimi.au.dk/~sandmann/sysprof/

It builds and will want a kernel module loading.


Run sysprof, load gerbv with some gerbers it is notably slow on, hit run
on sysprof.

Now switch to gerbv, and exercise the piece of code being slow, whether
that is by panning, zooming, whatever is the worst issue. (Don't mix too
many ways of making it slow though, as it would confuse the profile if
there were multiple slow paths).

Hit stop on sysprof.

All being well you will see function names etc.. HOWEVER, most likely
you won't... if your distribution uses stripped binaries, you make need
to install the -dev or -dbgsym versions of NUMEROUS different libraries
to get a good profile.

I've done this here, however different systems with different CPU / GPU
will have different profiles.

If you get a decent looking profile, please save it and send the
resulting .xml file to me).


This probably won't result in an immediate fix, but it will help
identify where in Cairo / pixman needs hacking on.

PS.. I need to know what cairo versions people are using. Anything less
than 1.4.0, try upgrading first. (No point identifying old speed
problems).

Best wishes,

-- 
Peter Clifton

Electrical Engineering Division,
Engineering Department,
University of Cambridge,
9, JJ Thomson Avenue,
Cambridge
CB3 0FA

Tel: +44 (0)7729 980173 - (No signal in the lab!)



_______________________________________________
geda-dev mailing list
[email protected]
http://www.seul.org/cgi-bin/mailman/listinfo/geda-dev

Reply via email to