Troy Laurin wrote:
Owen Rogers wrote:
i would recommend treating the task of accelerating your build in the
same way that you would treat any performance improvement task: start
by profiling your build. determine which targets/tasks take the most
time and start by optimising them. the recent patch that i submitted
(http://sourceforge.net/tracker/index.php?func=detail&aid=1122583&group_id=31650&atid=402870)
extends the xml logger to do just that.
cheers,
owen.
Owen,
I was just thinking... your XMLLogger can only log things at the
granularity of the task level, eg the <cs> task is taking 5 seconds.
Does anyone know of AoP (Aspect-oriented Programming) extensions to C#
to allow extension of NAnt to provide sub-task level timings? eg,
building the fileset takes 2 seconds, compiling the classes took 2.5
seconds and the rest is spent in bookkeeping.
In Java, you can compile aspects into already compiled classes... this
would probably be the most feasible way of doing this for NAnt.
I don't know of any complete aspect extension to .Net ( although I think
there are a couple in development ) however using a regular .Net
profiler would probably be useful. It also has the advantage of
identifying performance bottlenecks in the NAnt code that would be
candidates for optimization work
Ian
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Nant-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nant-users