Imports System.Diagnostics
Dim sw As New Stopwatch()
sw.Start()
' Do the work here
sw.Stop()
Console.WriteLine("Elapsed time: {0}", sw.Elapsed.TotalMilliseconds)
					
					
										
					 				Imports System.Diagnostics
Dim sw As New Stopwatch()
sw.Start()
' Do the work here
sw.Stop()
Console.WriteLine("Elapsed time: {0}", sw.Elapsed.TotalMilliseconds)