[Issue 5650] A RedBlackTree performance problem
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Apr 27 08:39:05 PDT 2012
http://d.puremagic.com/issues/show_bug.cgi?id=5650
--- Comment #14 from SomeDude <lovelydear at mailmetrash.com> 2012-04-27 08:40:08 PDT ---
(In reply to comment #11)
> I noticed that just after compilation, the first run is always slightly longer
> than the following ones by about 50 to 80 ms.
>
> The other observation, - and that's crazy -, is if I uncomment the line
> writeln(walkLength(t[]));
> I am consistently *faster* by 10 to 25 ms than when it's commented !!
>
> My dmd measurements are done via Powershell command:
> Measure-Command{./bug.exe}
OK, forget it, it turns out using
Measure-Command{...} was a rather poor way of measuring runtimes
because of startup/shutdown.
Using StopWatch, I now get consistent results.
--
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