Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / IDE / March 2007

Tip: Looking for answers? Try searching our database.

Measuring build time

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
redsolo - 28 Mar 2007 10:11 GMT
Is there any Addin to Visual Studio to measure how long time a build
takes? It would be interesting if I could find out how much of my day
is spent waiting for the application to build.

I know it is possible to add pre- and post build events that measure
the time, but as our application consists of 20-30 projects it is not
doable to update all projects to do this.

Is it possible to create an Addin that "listens" on build events?
Is there any notifications that an Addin that could work for this
purpose?

I would like to measure the time between the user presses the key to
start a build and when it is actually done.

Does anyone have a clue?
//E
Andrew McDonald - 28 Mar 2007 23:57 GMT
"redsolo" <eramfelt@gmail.com> wrote...

> Is there any Addin to Visual Studio to measure how long time a build
> takes? It would be interesting if I could find out how much of my day is
[quoted text clipped - 9 lines]
> I would like to measure the time between the user presses the key to start
> a build and when it is actually done.

For Visual C++, just go to Tools -> Options -> Projects and Solutions ->
VC++ Project Settings -> Build Timing. I don't know if that applies to any
other language you might be using though.

--
Andy
redsolo - 29 Mar 2007 07:41 GMT
On Mar 29, 12:57 am, "Andrew McDonald" <myrmecophaga...@no-spam-
thanks.hotmail.com> wrote:
> "redsolo" <eramf...@gmail.com> wrote...
> > Is there any Addin to Visual Studio to measure how long time a build
[quoted text clipped - 14 lines]
> VC++ Project Settings -> Build Timing. I don't know if that applies to any
> other language you might be using though.

I tried it and that option does not seem to work for common C#
projects.

But I could change the build output verbosity to "Normal" and then I
would get the elapsed time for each project build, which is very close
what I want. But the problem is that it is only logged in the output
window, so it could be solved IF I could either pipe the output to a
file or create an Addin that listens on the output window. (I dont
want to sit and copy/paste the thing manually to an app for every
build I make)

Does anyone know if it:
* Is possible to read/access the output from an Addin?
* Is possible to pipe the output to a file or similar?

If so i could create a simple app to go through the text and read the
elapsed timings, and present them somehow.

Cheers
//E

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.