Profiling with DUB?

Guillaume Piolat spam at smam.org
Thu Nov 1 13:59:39 UTC 2018


On Monday, 29 October 2018 at 10:14:23 UTC, Dukc wrote:
> I'm trying to profile my program, built like:
>
> dub build --build=profile
>
> When I run the program, where is the performance profile file 
> supposed to appear? I can find nothing new in the 
> program/project root directory. This happens regardless whether 
> I compile with dmd or ldc2.

If you want to use sampling profilers (like the free Intel 
Amplifier coming with System Studio) you can also use

dub build -b release-debug

And then check in your profiler.


More information about the Digitalmars-d-learn mailing list