[fpc-devel] Messages overhead

Florian Klaempfl florian at freepascal.org
Thu Jul 15 18:39:30 CEST 2010


Hans-Peter Diettrich schrieb:
> Florian Klaempfl schrieb:
> 
>>>>> IMO compiler messages slow down compilation a lot.
>>>> How do you know this, did you benchmark or is it just your opinion?
>>> Common knowledge, proved by experience.
>>
>> Please profile the compiler first, people did this already.
> 
> This is what I'm going to do now.
> 
> Does there exist some profiling code already, or do I have to reinvent
> the wheel?

I usually use callgrind together with kcachegrind (code needs to be
compiled with -gv).



More information about the fpc-devel mailing list