#13 Add target and task duration to xml output

Current CVS
closed-fixed
Core (11)
5
2005-04-14
2005-02-14
Owen Rogers
No

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.

Discussion

  • Owen Rogers

    Owen Rogers - 2005-02-14
     
  • Gert Driesen

    Gert Driesen - 2005-04-14
    • status: open --> closed
     
  • Gert Driesen

    Gert Driesen - 2005-04-14
    • assigned_to: nobody --> drieseng
    • status: closed --> closed-fixed
     
  • Gert Driesen

    Gert Driesen - 2005-04-14

    Logged In: YES
    user_id=707851

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

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks