Merge pull request #425 from dlang-community/2.078.0-update
Update StopWatch use and containers submodule for 2.078.0 merged-on-behalf-of: Petar Kirov <ZombineDev@users.noreply.github.com>
This commit is contained in:
commit
68bbb51bb7
|
@ -1 +1 @@
|
||||||
Subproject commit 2892cfc1e7a205d4f81af3970cbb53e4f365a765
|
Subproject commit 0ed30c2626270a18b420bc04143b7a9c2eea0f42
|
|
@ -22,7 +22,7 @@ import core.sys.posix.sys.stat;
|
||||||
import std.algorithm;
|
import std.algorithm;
|
||||||
import std.array;
|
import std.array;
|
||||||
import std.conv;
|
import std.conv;
|
||||||
import std.datetime;
|
import std.datetime.stopwatch : AutoStart, StopWatch;
|
||||||
import std.exception : enforce;
|
import std.exception : enforce;
|
||||||
import std.experimental.allocator;
|
import std.experimental.allocator;
|
||||||
import std.experimental.allocator.mallocator;
|
import std.experimental.allocator.mallocator;
|
||||||
|
@ -177,7 +177,7 @@ int main(string[] args)
|
||||||
|
|
||||||
sw.stop();
|
sw.stop();
|
||||||
info(cache.symbolsAllocated, " symbols cached.");
|
info(cache.symbolsAllocated, " symbols cached.");
|
||||||
info("Startup completed in ", sw.peek().to!("msecs", float), " milliseconds.");
|
info("Startup completed in ", sw.peek().total!"msecs"(), " milliseconds.");
|
||||||
|
|
||||||
// No relative paths
|
// No relative paths
|
||||||
version (Posix) chdir("/");
|
version (Posix) chdir("/");
|
||||||
|
@ -286,7 +286,7 @@ int main(string[] args)
|
||||||
s.trySendResponse(findLocalUse(request, cache), "Couldnot find local usage");
|
s.trySendResponse(findLocalUse(request, cache), "Couldnot find local usage");
|
||||||
|
|
||||||
sw.stop();
|
sw.stop();
|
||||||
info("Request processed in ", sw.peek().to!("msecs", float), " milliseconds");
|
info("Request processed in ", sw.peek().total!"msecs"(), " milliseconds");
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue