...
Code Block |
---|
... var stopwatch = new Stopwatch(); stopwatch.Start(); regularGridCoverage.Resize(10000, 10000, 1, 1); stopwatch.Stop(); log.DebugFormat("Writing 100000000 values took {0} ms", stopwatch.Elapsed.TotalMilliseconds); Assert.Less(stopwatch.Elapsed.TotalMilliseconds, 25000); ... |
Also make sure that message is written showing how log it took to do something, otherwise it is hard to check how long it takes on build server.