www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - std.benchmark redux

reply Andrei Alexandrescu <SeeWebsiteForEmail erdani.org> writes:
I recall we have nothing in the review queue for the time being, is that 
correct?

If that's the case, allow me to tender std.benchmark again for inclusion 
into Phobos. I reworked the benchmarking framework for backward 
compatibility, flexibility, and convenience.

Code: https://github.com/D-Programming-Language/phobos/pull/794

Dox: http://dlang.org/phobos-prerelease/std_benchmark.html

There are a few enhancement possibilities (such as tracking system/user 
time separately etc), but there is value in keeping things simple and 
convenient. Right now it really takes only one line of code and 
observing a simple naming convention to hook a module into the 
benchmarking framework.

Looking for a review manager!


Thanks,

Andrei
Sep 17 2012
next sibling parent Andrej Mitrovic <andrej.mitrovich gmail.com> writes:
On 9/17/12, Andrei Alexandrescu <SeeWebsiteForEmail erdani.org> wrote:
 snip
Don't want to hijack the thread, but I found Philippe's templates really useful for quickly adding timers to functions, e.g.: http://dpaste.dzfl.pl/568cd71f
Sep 17 2012
prev sibling next sibling parent "Jonathan M Davis" <jmdavisProg gmx.com> writes:
On Monday, September 17, 2012 13:24:00 Andrei Alexandrescu wrote:
 I recall we have nothing in the review queue for the time being, is that
 correct?
Technically speaking, I think that there are a few items in the review queue, but no one is pushing for their stuff to be reviewed right now, and I have no clue whether any of it is actually, currently in a reviewable state. So, I see no problem with std.benchmark getting reviewed right now, since no other reviews are in progress or even being pushed for. - Jonathan M Davis
Sep 17 2012
prev sibling parent reply Jens Mueller <jens.k.mueller gmx.de> writes:
Andrei Alexandrescu wrote:
 I recall we have nothing in the review queue for the time being, is
 that correct?
 
 If that's the case, allow me to tender std.benchmark again for
 inclusion into Phobos. I reworked the benchmarking framework for
 backward compatibility, flexibility, and convenience.
 
 Code: https://github.com/D-Programming-Language/phobos/pull/794
 
 Dox: http://dlang.org/phobos-prerelease/std_benchmark.html
 
 There are a few enhancement possibilities (such as tracking
 system/user time separately etc), but there is value in keeping
 things simple and convenient. Right now it really takes only one
 line of code and observing a simple naming convention to hook a
 module into the benchmarking framework.
 
 Looking for a review manager!
I'd like to organize the review. If that's fine with you I'll post the announcement in a separate thread. Jens
Sep 17 2012
parent Andrei Alexandrescu <SeeWebsiteForEmail erdani.org> writes:
On 9/17/12 4:10 PM, Jens Mueller wrote:
 Andrei Alexandrescu wrote:
 Looking for a review manager!
I'd like to organize the review. If that's fine with you I'll post the announcement in a separate thread. Jens
Thanks Jens. Of course that's fine with me. Let the destruction begin! Andrei
Sep 17 2012