Share

NAnt - A .NET Build Tool

Tracker: Patches

5 Add target and task duration to xml output - ID: 1122583
Last Update: Comment added ( nobody )

I've updated the XmlLogger class and its corresponding
tests so that they output the duration of executed
targets or tasks (in milliseconds). This will help us
profile our build in order to determine where we should
focus on improving the build time.
This functionality is currently in the Ant XmlLogger;
however, because of the difference between the
feed-forward .NET XmlWriter vs. the Ant DOM-based
approach, I set the logger up to output the duration as
an element at the end of the target/task rather than as
an attribute. So there is slight syntax difference,
but semantically they are the same.
I am in the process of building support for this into
CruiseControl.NET and it would be great to see this
included in the 0.85 release. I would commit it
myself, but considering that I've hardly been active on
the NAnt list for years, I thought that I would submit
it for review.


Owen Rogers ( exortech ) - 2005-02-14 18:43

5

Closed

Fixed

Gert Driesen

Core

Current CVS

Public


Comments ( 2 )




Date: 2008-10-24 03:50
Sender: nobody

RIEu0N <a href="http://znygopoletpj.com/">znygopoletpj</a>,
[url=http://waaplgegpgql.com/]waaplgegpgql[/url],
[link=http://kpjqeurzdvyd.com/]kpjqeurzdvyd[/link],
http://yfoquailkzmn.com/


Date: 2005-04-14 16:48
Sender: driesengProject AdminAccepting Donations

Logged In: YES
user_id=707851

This is now committed to cvs. I also added project timings.


Log in to comment.

Attached File ( 1 )

Filename Description Download
xmllogger.zip Download

Changes ( 5 )

Field Old Value Date By
resolution_id None 2005-04-14 16:48 drieseng
assigned_to nobody 2005-04-14 16:48 drieseng
close_date - 2005-04-14 16:48 drieseng
status_id Open 2005-04-14 16:48 drieseng
File Added 120012: xmllogger.zip 2005-02-14 18:43 exortech