mirror of
https://github.com/dlang-community/DCD.git
synced 2025-05-02 08:09:56 +03:00
Use more adaptive time formatting because many requests finish in 0 milliseconds
This commit is contained in:
parent
5aba1b1b54
commit
e343e73d33
1 changed files with 2 additions and 2 deletions
|
@ -185,7 +185,7 @@ int runServer(string[] args)
|
||||||
|
|
||||||
sw.stop();
|
sw.stop();
|
||||||
info(cache.symbolsAllocated, " symbols cached.");
|
info(cache.symbolsAllocated, " symbols cached.");
|
||||||
info("Startup completed in ", sw.peek().total!"msecs"(), " milliseconds.");
|
info("Startup completed in ", sw.peek);
|
||||||
|
|
||||||
// No relative paths
|
// No relative paths
|
||||||
version (Posix) chdir("/");
|
version (Posix) chdir("/");
|
||||||
|
@ -310,7 +310,7 @@ int runServer(string[] args)
|
||||||
}
|
}
|
||||||
|
|
||||||
sw.stop();
|
sw.stop();
|
||||||
info("Request processed in ", sw.peek().total!"msecs"(), " milliseconds");
|
info("Request processed in ", sw.peek);
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue