J.B.C.Engelen@...1578... wrote:
Sounds nice Jasper.
Yesterday I had a chat with mgsloan of 2geom, and we discussed lib2geom integration into Inkscape. We both thought we need tests to make sure nothing gets broken by the switch to 2geom etc. Since I am on Windows as well, I also have troubles with not being able to do 'make check'. What you propose sounds all very nice (I like the publishing on internet). Also the profiling is nice, I have been looking for that a while ago.
If you want to profile Inkscape yourself, just add -pg to the build flags in build.xml (I've attached my build.xml as an example). You then have to rebuild Inkscape (takes a while) and, voilá, you're ready to start profiling.
To get the profiling information using gprof, just start Inkscape and do whatever you're interested in profiling. A file called gmon.out will be written. Now you can execute: gprof inkscape.dbg gmon.out > gmon.txt The gmon.txt file will now contain the standard profiling information that gprof generates. (gprof has lots of switches to do all sorts of interesting stuff, but this is the basic procedure)