[fpc-devel] Messages overhead

Graeme Geldenhuys graemeg.lists at gmail.com
Thu Jul 15 14:03:57 CEST 2010


Op 2010-07-14 17:17, Daniƫl Mantione het geskryf:
>> IMO compiler messages slow down compilation a lot.
> 
> How do you know this, did you benchmark or is it just your opinion?

A few weeks ago, I benchmarked that too (well similar). I did a comparison
between Kylix 3 and FPC 2.4.x. When I disabled all compiler message output,
FPC compiled the test apps a bit faster that with -va parameter. It wasn't
an exhaustive test by any means, but there was a difference. So I would
imagine Hans has a point, that removing any calls to message output would
reduce compilation even more.


Regards,
  - Graeme -

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://opensoft.homeip.net/fpgui/




More information about the fpc-devel mailing list