http://d.puremagic.com/issues/show_bug.cgi?id=9581
--- Comment #3 from Andrej Mitrovic <[email protected]> 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: -------
