[fpc-devel] Re: Comparison FPC 2.6.2 - Kylix 3

Sven Barth pascaldragon at googlemail.com
Mon Mar 4 14:52:11 CET 2013


Am 04.03.2013 14:48, schrieb Marco van de Voort:
> In our previous episode, Martin Schreiber said:
>>> Both Delphi 7 and Kylix 3 compiled MSEide feel more snappy than their FPC
>>> counterpart which is especially surprising for Delphi because Delphi
>>> widestrings are not reference counted.
>>>
>> Some more tests, starting MSEide, loading and highlighting the 277441 lines
>> MacOSAll.pas from FPC 2.4.0:
>>
>> FPC 2.6.2 Windows 3.2..3.5s
>> Delphi 7 Windows       4.0s
>> FPC 2.6.2 Linux        5.0s
>> Kylix 3 Linux          4.0s.
>>
>> It seems there is actually a benefit of the reference counted Free Pascal
>> UnicodeStrings on Windows.
> Speculation on the reasons:
> macosall is mostly a header (declarations), while the other programs
> probably have a higher code % ?
What does the content of MacOSAll have to do with being mostly 
declarations? Martin just wrote that he used differently compiled 
MSEides to highlight the same unit (though I wonder why the FPC Linux 
variant is the slowest...)

Regards,
Sven



More information about the fpc-devel mailing list