Compiler flags when profiling a build
Per Nordlöw
per.nordlow at gmail.com
Sun Oct 25 14:47:50 UTC 2020
On Sunday, 25 October 2020 at 14:34:54 UTC, Guillaume Piolat
wrote:
> dub -b release-debug # optimizations AND debug information
Why not use dmd's own `-profile` flag? Is too intrusive on
performance? I've noticed a massive slow-down with about a
magnitude.
> The AMD profiler is a very nice alternative to Intel Amplifier.
I'm sitting on Linux. What is the preferred open alternative
there? What are the pros and cons of the choices oprofile, gprof,
sysprof, ...? Does anybody have a good comparison chart?
I want to profile an application that parser files into ASTs and
generates text from those AST. Current bottleneck is currently
AST-node allocations.
More information about the Digitalmars-d
mailing list