www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - profiling

reply "Craig Black" <cblack ara.com> writes:
On the website there is documentation for profiling using DMC++.  Does the D 
compiler provide support for profiling also?

-Craig 
Dec 22 2005
parent clayasaurus <clayasaurus gmail.com> writes:
The D compiler supports profiling and code coverage analysis.

For profiling, with the -profile switch when you compile, and when you 
run your program, it will create trace.log which holds the information.

For code coverage analysis, see 
http://www.digitalmars.com/d/code_coverage.html

Craig Black wrote:
 On the website there is documentation for profiling using DMC++.  Does the D 
 compiler provide support for profiling also?
 
 -Craig 
 
 

Dec 22 2005