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

Tomas Hajny XHajT03 at hajny.biz
Mon Mar 4 15:19:56 CET 2013


On Mon, March 4, 2013 14:54, Mattias Gaertner wrote:
> On Mon, 4 Mar 2013 14:50:17 +0100
> Martin Schreiber <mse00000 at gmail.com> wrote:
>
>> On Monday 04 March 2013 07:08:25 Martin Schreiber wrote:
>> >
>> > 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.
>
> Any idea, why FPC Linux is slower than FPC Windows?
> Loading and highlighting does not sound like a task where many OS calls
> are involved.

Is the "starting MSEide" (as mentioned above) bit included in the measured
time? That would probably imply quite some OS calls, of course...

Tomas





More information about the fpc-devel mailing list