Profiling the DMD Compiler Itself

Walter Bright newshound2 at digitalmars.com
Tue May 9 06:25:50 UTC 2023


On 5/8/2023 9:49 PM, max haughton wrote:
> Instrumentation-based profiling is almost always a worse option than sampling — 
> even if the overhead was zero the data is much less useful.

-profile does suffer from added instrumentation affecting the results (sort of 
like quantum mechanics!) but it still produces highly actionable information.


More information about the Digitalmars-d mailing list