www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Is there a profiler for D2?

reply Cheng Wei <rivercheng gmail.com> writes:
Is there any usable profiler for D2?
Sep 19 2011
parent reply Mirko Pilger <pilger cymotec.de> writes:
 Is there any usable profiler for D2?

dmd -profile
Sep 19 2011
parent reply Jonathan M Davis <jmdavisProg gmx.com> writes:
On Tuesday, September 20, 2011 08:35:52 Mirko Pilger wrote:
 Is there any usable profiler for D2?

dmd -profile

I don't believe that it doesn't currently work with 64-bit binaries though, so if you want to run the profiler, you're going to need to do it with a 32-bit binary (which as all you can have if you're on Windows anyway, so whether that's an issue or not depends on your OS). - Jonathan M Davis
Sep 19 2011
parent Mike Wey <mike-wey example.com> writes:
On 09/20/2011 08:46 AM, Jonathan M Davis wrote:
 I don't believe that it doesn't currently work with 64-bit binaries though,

You could use oprofile in that case. http://oprofile.sourceforge.net/ -- Mike Wey
Sep 20 2011