[Issue 9581] Regression (2.053): Exception takes too much time to show up
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Feb 23 19:27:57 PST 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9581
--- Comment #3 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2013-02-23 19:27:56 PST ---
(In reply to comment #2)
> Doesn't this just test the compile time? Not that 4 second compile time is
> really acceptable, but I don't know if this test does what you think it does.
>
> What happens when you remove the compilation line?
Sorry about that, it was a misplaced system call.
Without timing the compilation its faster but still 4050 msecs. Here's the
newer script:
timer.d:
---------
module timer;
import std.stdio;
import std.process;
import std.datetime;
void main()
{
system("dmd test.d");
auto sw1 = StopWatch(AutoStart.yes);
system("test");
sw1.stop();
writefln("%s msecs.", sw1.peek.msecs);
}
---------
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list