On 11/11/2011 02:51 PM, Benjamin Dreux wrote: > HI > > I'm using maven to control the generator, and as you may now maven has > a notion of compilation lifecycle. > My intention was to match as much as possible these lifecycle. > > So in my maven script (pom.xml as they call it), it run multiple time > the generator with different compilation job. > > I'm wondering if this way of using the generator is optimal. > > In clear, is it faster to run the generator with multiple jobs or to > run it multiple time with one job each time.
It shouldn't be a big difference. Through the disk cache, subsequent generator runs get the benefit of previous runs, whether you run multiple job with a single generator invocation or not. Granted, with multiple invocations you pay the Python VM startup and code loading overhead, but that shouldn't be much of a concern. So unless you are not running hundreds of jobs (as we do when building the Demobrowser), you shouldn't see much of a difference. T. ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
