<div class="gmail_quote">On 21 September 2012 07:45, Andrei Alexandrescu <span dir="ltr"><<a href="mailto:SeeWebsiteForEmail@erdani.org" target="_blank">SeeWebsiteForEmail@erdani.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">As such, you're going to need a far more<br>
convincing argument than "It worked well for me."<br>
</blockquote>
<br></div>
Sure. I have just detailed the choices made by std.benchmark in a couple of posts.<br>
<br>
At Facebook we measure using the minimum, and it's working for us.</blockquote><div><br></div><div>Facebook isn't exactly 'realtime' software. Obviously, faster is always better, but it's not in a situation where if you slip a sync point by 1ms in an off case, it's all over. You can lose 1ms here, and make it up at a later time, and the result is the same. But again, this feeds back to your distinction between benchmarking and profiling.</div>
<div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Otherwise, I think we'll need richer results. At the very least there<br>
should be an easy way to get at the raw results programmatically<br>
so we can run whatever stats/plots/visualizations/<u></u>output-formats we<br>
want. I didn't see anything like that browsing through the docs, but<br>
it's possible I may have missed it.<br>
</blockquote>
<br></div>
Currently std.benchmark does not expose raw results for the sake of simplicity. It's easy to expose such, but I'd need a bit more convincing about their utility.</blockquote><div><br></div><div>Custom visualisation, realtime charting/plotting, user supplied reduce function?</div>
</div>