Blog Archive

Search Blog

Blog List

Contact Me






Enter the code shown above in the box below
Send

 

Announcements

Recommended Websites

Events

Event StartEvent EndTitle

Recommended Reading

Most recent blog entries

Jan 15

Written by: Darren McLeod
Thursday, January 15, 2009 6:17 PM 

Once in a while I want to see how long a section of code takes to run and I always forget the best way to do this.
 

endTime.Subtract(startTime).TotalMilliseconds()


It's so simple it's easy to forget I guess.

Tags:

Your name:
Your email:
(Optional) Email used only to show Gravatar.
Your website:
Title:
Comment:
Security Code
Enter the code shown above in the box below
Add Comment   Cancel