On 2012-09-21 18:21, Andrei Alexandrescu wrote:

That's a good angle. Profiling is currently done by the -profile switch,
and there are a couple of library functions associated with it. To my
surprise, that documentation page has not been ported to the dlang.org
style: http://digitalmars.com/ctg/trace.html

I haven't yet thought whether std.benchmark should add more
profiling-related primitives. I'd opine for releasing it without such
for the time being.

If you have an API that is fairly open and provides more of the raw results then one can build a more profiling like solution on top of that. This can later be used to create a specific profiling module if we choose to do so.

--
/Jacob Carlborg

Reply via email to