|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Perfomance testHello!
Let's say I have 2 functions, both return data from the database. Now I would like to compare perfomance of these two functions. Ex. I would like to know how long it takes to execute these functions. How can I do that? Thank you! James James,
If it is using version 2003 you can set the start-time by enverironment.tickcount If it is using version 2005 you can use the stopwatch. http://msdn2.microsoft.com/en-us/library/system.diagnostics.stopwatch.aspx I hope this helps, Cor Hi Cor,
How you doing ?, did you have a look over the code I sent you , any use to you ? Show quoteHide quote "Cor Ligthert [MVP]" <notmyfirstn***@planet.nl> wrote in message news:%23ht7SyuOGHA.3360@TK2MSFTNGP09.phx.gbl... > James, > > If it is using version 2003 you can set the start-time by > enverironment.tickcount > > If it is using version 2005 you can use the stopwatch. > > http://msdn2.microsoft.com/en-us/library/system.diagnostics.stopwatch.aspx > > I hope this helps, > > Cor > > Hi Cor, Not yet, is a part in future. Is nicely saved.> > How you doing ?, did you have a look over the code I sent you , any use to > you ? > > -- Cor No problem Cor. You are more than welcome.
Show quoteHide quote "Cor Ligthert [MVP]" <notmyfirstn***@planet.nl> wrote in message news:%23NBvtWwOGHA.2668@tk2msftngp13.phx.gbl... > Terry, > > I forgot to thank you for it, sorry, thanks, > > Cor >
How does the community rate .NET 2005 vs. .NET 2003?
Some thoughts on VB9 Set a text in a RowHeader cell List.Add method overwriting collectionbase? Listbox controls How to move a menu item to the left?! The variable 'GroupBox1' is either undeclared or was never assigned. List all public properties of a Class ? i love reflection:) academic version [2003] |
|||||||||||||||||||||||