On Tue, 2004-06-08 at 02:13, Jason van Zyl wrote: > On Mon, 2004-06-07 at 21:19, Jerome Lacoste wrote: > > > > > This is for the most simple of builds with one source file. Just really > > > an illustration of initialization time. > > > > Interesting. > > > > Do you know where does that difference come from? > > As I haven't even started optimizing or profiling I would speculate it > results from trying to shed all dependencies possible, and using tools > like the xpp3 parser to serialize/deserialize the model and thus > avoiding the grossly ineffecient commons-digester/beanutils/collections. > > > Is there a way to enable profiling? > > No, I would just use a profiler or possibly an aspect. > > > I remember Jira having a very nice filter allowing to enable profiling. I wonder > > if it's possible and interesting to introduced something like that within maven. > > I don't really see any benefit in doing that i.e. building that into > maven when you can do profiling with a tool.
See my response below > > But I guess that maven is more predictable than an application using various SQL > > queries on top of various DBMS. > > It's not a matter of being predictable, but rather doing analysis where > appropriate. I wouldn't bother introducing a complicated mechanism in > maven itself for profiling when an external tool would be much more > appropriate. The benefit in Jira is that: - first it is very simple to use and even to integrate to the app - it is run by the user, not by the developer The second point is crucial, because you may not have access to the user's environment and/or data. So he might face a problem you may never be able to reproduce and sometimes you cannot ask a user to do the profiling job. After it's just a question of how much support the dev team wants to provide. For personal curiosity I will see if I can allocate some cycles to use the thing on maven. Jerome --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
