Profile-guided optimization (PGO)
Johan Engelen via digitalmars-d-ldc
digitalmars-d-ldc at puremagic.com
Wed Dec 23 11:23:56 PST 2015
On Wednesday, 23 December 2015 at 13:10:33 UTC, Kagamin wrote:
> On Thursday, 10 December 2015 at 14:38:19 UTC, Liran Zvibel
>> Also, for use cases like ours, where the system runs for
>> extended periods of time, and optimizing the init time, which
>> may be minutes is not interesting at all, just being able to
>> run perf while the system is doing something interesting to
>> improve is a big plus.
> As I understand, if the profiling runs long enough, the
> long-running statistics will dominate startup statistics?
The profiling is pretty simple: it is just a bunch of counters
whereever the code branches. So indeed, long runs will have
long-running statistics dominate startup statistics.
More information about the digitalmars-d-ldc