Review of Andrei's std.benchmark

Johannes Pfau nospam at example.com
Fri Sep 21 10:45:18 PDT 2012


Am Fri, 21 Sep 2012 00:45:44 -0400
schrieb Andrei Alexandrescu <SeeWebsiteForEmail at erdani.org>:
> 
> The issue here is automating the benchmark of a module, which would 
> require some naming convention anyway.

A perfect use case for user defined attributes ;-)

@benchmark void foo(){}
@benchmark("File read test") void foo(){}


More information about the Digitalmars-d mailing list