[fpc-devel] Status report for "class helpers"

Florian Klämpfl florian at freepascal.org
Sun Jan 30 12:13:21 CET 2011

Am 30.01.2011 09:45, schrieb Sven Barth:
> On 30.01.2011 04:30, Paul Ishenin wrote:
>> 30.01.2011 5:22, Sven Barth wrote:
>>> Ok, I have now implemented a set of flags in TSymtable of which one is
>>> set when the (global-,static-)symtable contains a class helper (I
>>> haven't refactored b_needs_init_final yet).
>>> Here are the new results with the search for class helpers enabled
>>> (only two runs this time):
>>> Run 1:
>>> real 2m22.980s
>>> user 0m47.140s
>>> sys 0m4.333s
>>> Run 2:
>>> real 2m15.362s
>>> user 0m47.274s
>>> sys 0m4.140s
>> Imo it works much better now.
> Only one minute slower in the complete run instead of four. 

Now I understand the timings :) Actually two times slower, right?

> I let you
> guys decide whether this is good enough ^^

Actually I think anything about a ten percent slower compiler will
people make cry ... And as far as I understand, for projects with a lot
of units it will be even worse, right?

> How often is the compiler compiled completly during a make cycle?

2-4 times iirc.

More information about the fpc-devel mailing list