Re: [pygccxml-development] Performance regression?
Brought to you by:
mbaas,
roman_yakovenko
From: Roman Y. <rom...@gm...> - 2007-08-02 05:40:33
|
On 8/2/07, Allen Bierbaum <al...@vr...> wrote: > One of the big projects I use Py++ with seems to be suffering from > performance issues. I used to be able to generate the bindings in > approximately 10 minutes, now it is taking a little over 80 minutes. :-(. I will try to find out what happened. Can you provide the versions you are using? Also I must admit that something strange is going on. I am testing Py++ on Python-Ogre project and I didn't see x8 performance deterioration ( hope this is the right word to use). Do you run same version of script? > I have been so happy with Py++ as of late that I haven't even been > paying attention to the changes going into Py++ so I don't know what may > be causing the slow down. :) May be unicode support? > I did collect some timing information though in the hopes that someone > smarter then me may be able to spot some corners of Py++ that could be > optimized. > > During my run I output basic timings of: > > Code generation complete. took: 5099.32698894 > ... > module builder init: 253.73842907 > ... > build creators: 1991.69337511 > write module: 2821.93180895 > > I ran the whole thing through the cProfile module to see where python > was spending it's time. The raw data is available at: > https://realityforge.vrsource.org/twiki/pub/PyOpenSG/TempArea/gen_bindings.prof.bz2 > > A report summarizing the results (sorted by time spent exclusively > within the method) is available here: > https://realityforge.vrsource.org/twiki/pub/PyOpenSG/TempArea/stats.txt Can you also provide the profile information for your previous version of Py++? -- Roman Yakovenko C++ Python language binding http://www.language-binding.net/ |