[Lazarus] Timing of all compiler options on slow machines

waldo kitty wkitty42 at windstream.net
Thu Aug 22 14:56:33 CEST 2013


On 8/22/2013 07:42, Sven Barth wrote:
> On my above mentioned 800 MHz system "fpc -i" takes ~445ms and "fpc -h" ~540ms
> for a 2.6.2 fpc.exe. If I now use a 2.6.2 ppc386.exe (which is called by
> fpc.exe) the time is ~240ms and ~315ms respectively.
>
> I've attached the lpr if someone wants to test him-/herself.

i went back and created a new project but chose 'Program' this time instead of 
'Application' and that works much better...


X:\freepascal\projects\processtest>processtest
Duration: 00:00:04.750
Duration: 00:00:02.421

X:\freepascal\projects\processtest>processtest
Duration: 00:00:01.047
Duration: 00:00:01.063

X:\freepascal\projects\processtest>processtest
Duration: 00:00:00.921
Duration: 00:00:01.047

X:\freepascal\projects\processtest>processtest
Duration: 00:00:01.188
Duration: 00:00:01.219

X:\freepascal\projects\processtest>processtest
Duration: 00:00:01.047
Duration: 00:00:01.047

X:\freepascal\projects\processtest>processtest
Duration: 00:00:00.813
Duration: 00:00:00.922

X:\freepascal\projects\processtest>processtest
Duration: 00:00:01.265
Duration: 00:00:01.281

X:\freepascal\projects\processtest>processtest
Duration: 00:00:01.281
Duration: 00:00:01.078


so... i tried project -> options -> other again and got 14.906 and 16.205 on the 
two test runs i made... hummm... why just a huge difference in time??

i deleted the two exes (fpc and ppc386) i had copied to the project directory 
and specified the full path to fpc on the command line...


X:\freepascal\projects\processtest>processtest 
\freepascal\fpc\trunk\bin\i386-win32\fpc.exe
Duration: 00:00:01.094
Duration: 00:00:03.281

X:\freepascal\projects\processtest>processtest 
\freepascal\fpc\trunk\bin\i386-win32\fpc.exe
Duration: 00:00:01.031
Duration: 00:00:03.156

X:\freepascal\projects\processtest>processtest 
\freepascal\fpc\trunk\bin\i386-win32\fpc.exe
Duration: 00:00:01.157
Duration: 00:00:02.859

X:\freepascal\projects\processtest>processtest 
\freepascal\fpc\trunk\bin\i386-win32\fpc.exe
Duration: 00:00:01.047
Duration: 00:00:03.110


weird... but ok... so once more but directly to ppc386...


X:\freepascal\projects\processtest>processtest 
\freepascal\fpc\trunk\bin\i386-win32\ppc386.exe
Duration: 00:00:00.500
Duration: 00:00:02.485

X:\freepascal\projects\processtest>processtest 
\freepascal\fpc\trunk\bin\i386-win32\ppc386.exe
Duration: 00:00:00.610
Duration: 00:00:02.515

X:\freepascal\projects\processtest>processtest 
\freepascal\fpc\trunk\bin\i386-win32\ppc386.exe
Duration: 00:00:00.610
Duration: 00:00:02.172

X:\freepascal\projects\processtest>processtest 
\freepascal\fpc\trunk\bin\i386-win32\ppc386.exe
Duration: 00:00:00.484
Duration: 00:00:02.641


i'm at a loss for the difference in times for each of these as well as the much 
longer times in lazarus project->options->other :?


-- 
NOTE: No off-list assistance is given without prior approval.
       Please keep mailing list traffic on the list unless
       private contact is specifically requested and granted.




More information about the Lazarus mailing list