jj 23.05 datatable performance

This commit is contained in:
JenneJ
2016-05-23 16:44:49 +02:00
parent b141e20f58
commit 49e5e40b54
2 changed files with 176 additions and 142 deletions

View File

@@ -405,10 +405,13 @@
stopwatch.Start()
End Sub
Public Sub Done()
Public Function Done() As Long
stopwatch.Stop()
Console.WriteLine("{0} took {1} milliseconds to complete", label, stopwatch.ElapsedMilliseconds)
End Sub
Dim message = String.Format("{0} took {1} milliseconds to complete", label, stopwatch.ElapsedMilliseconds)
Console.WriteLine(message)
If LogErrorsOnly = False Then ClassLogger.Add(message, False)
Return stopwatch.ElapsedMilliseconds
End Function
End Class