More granular performance profiling?

Lutger lutger.blijdestijn at gmail.com
Fri Mar 30 03:24:53 PDT 2007


Jarrett Billingsley wrote:
> I'd like to profile some code (the MiniD interpreter to be exact), but 
> the -profile flag for DMD only profiles down to the function level.  This 
> obviously doesn't help much when considering that the interpreter is 
> basically one big function with a while loop in it.
> 
> Short of splitting the interpreter function into several smaller functions 
> to profile it, is there any way to get more granular performance profiling? 
> A library or such? 
> 
> 

std.perf is pretty easy to work with and has a high performance counter.


More information about the Digitalmars-d-learn mailing list