Hi, I think that only way that could improve the speed is using multiple cpu cores (in python threads are not solution because of GIL) or rewriting generator in language that allows better optimizations (C++, Java, etc...). Python is slow, interpreted language and it's not good for performance critical things.
Another solution could be using precompiled qooxdoo and compiling your own filed by using yuicompressor. I think it's quite good, many frameworks are using it for javascript compression. Best regards Petr Kobalicek On Tue, Aug 17, 2010 at 2:10 PM, Jean-Baptiste BRIAUD -- Novlog < [email protected]> wrote: > Nothing to do fpr the CPU, fair enough. > > Any other things to try on Python side (memory, ...) ? > > Any other "trick" like cache on a ram disk ? > > Any other ideas like "helping" the generator by some way ? > > What about tweaking SDK by removing some unused things (component, ..) ? > Will that help to speed up the process ? > > Last already known idea : qooxdoo in one big js non optimized file ... > In such a case, we would use that one big file for our frequent dailly > build/run/debug but will keep using generate build for delivery version > since generator do lots of wanted optimization. > As already discussed, I know it should be doable to create that big file > from the SDK, but I'm not sure how to start with since I'm not fluent in > config.json :-) > > thanks ! > > On 17 août 2010, at 13:32, Martin Wittemann wrote: > > > Hi, > > > >>> Yes, I was thinking that way before noticing that during a generate, > the CPU is not 100%. > >>> Would it be possible that my Python implementation doesn't use all > available CPU ? > >>> I'm on Mac and I didn't install anything, just using default Python > installation. > >>> > >>> Is there any Python option that I can use to reduce time for a generate > build ? > >>> For example, allowing more memory ? Would it make sense, is it possible > in Python ? > >>> Other idea ? > >>> > >> The generator only uses a single CPU core. During a build, that core is > >> definately at 100% on my system (using the default Python install that > >> comes with Ubuntu). > > > > I'm not the python expert either but I know that the generator uses only > one core for sure. We already have a bug report to change that: > > http://bugzilla.qooxdoo.org/show_bug.cgi?id=2366 > > > > But as far as I can remember, thats not as easy in python. (correct me if > i'm wrong). So there is nothing you can do right out of the box to split up > the generator to run on multiple cores. > > > > Regards, > > Martin > > > ------------------------------------------------------------------------------ > > This SF.net email is sponsored by > > > > Make an app they can't live without > > Enter the BlackBerry Developer Challenge > > http://p.sf.net/sfu/RIM-dev2dev > > _______________________________________________ > > qooxdoo-devel mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel > > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by > > Make an app they can't live without > Enter the BlackBerry Developer Challenge > http://p.sf.net/sfu/RIM-dev2dev > _______________________________________________ > qooxdoo-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel >
------------------------------------------------------------------------------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev
_______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
