Re: [MSEide-MSEgui-talk] Another MSElang bechmark

2017-04-22 Thread Martin Schreiber
On Saturday 22 April 2017 03:50:24 Jon Foster wrote: > Now you're catching my attention... However when I compile test1.pas with > fpc v3.0.0-3 the finished size is only 26,004 bytes. I don't think you used > smart linking. Yup, there was a missing -XX. The correct size with 3.0.2 is 26072 bytes.

Re: [MSEide-MSEgui-talk] Another MSElang bechmark

2017-04-22 Thread Martin Schreiber
On Friday 21 April 2017 16:52:39 Martin Schreiber wrote: [...] > > FPC 3.0.3 -O3: > > time ./test1_fpc > > real0m4.074s > user0m3.955s > sys 0m0.119s > Binary size 177576 bytes after strip. > Correction: Binary size 26072 bytes after strip. There was a missing -XX. Martin

Re: [MSEide-MSEgui-talk] Another MSElang bechmark

2017-04-21 Thread Graeme Geldenhuys
On 2017-04-22 02:50, Jon Foster wrote: > I don't think you used smart linking. Ah, good catch. Martin also tested on a 32bit system. 64bit systems will always have larger executables. But even so, on my 64-bit FreeBSD system using FPC 3.0.2, I get a 31544 bytes executable. $ fpc -O3 -Xs -XX

Re: [MSEide-MSEgui-talk] Another MSElang bechmark

2017-04-21 Thread Jon Foster
On 04/21/2017 07:52 AM, Martin Schreiber wrote: > Hi, > > The attached program on Linux-x86: > MSElang with LLVM 3.8.0 -O3 > > time ./test1.bin > > real0m2.582s > user0m2.467s > sys 0m0.111s > Binary size 18088 bytes after strip. > > FPC 3.0.3 -O3: > > time ./test1_fpc > > real

Re: [MSEide-MSEgui-talk] Another MSElang bechmark

2017-04-21 Thread Graeme Geldenhuys
On 2017-04-21 15:52, Martin Schreiber wrote: > The attached program on Linux-x86: > MSElang with LLVM 3.8.0 -O3 So I assume the MSElang compiler will generate the same output (or very close at least) as Delphi's new Linux compiler. Seeing as both are using LLVM. It seems Embarcadero/Idera

[MSEide-MSEgui-talk] Another MSElang bechmark

2017-04-21 Thread Martin Schreiber
Hi, The attached program on Linux-x86: MSElang with LLVM 3.8.0 -O3 time ./test1.bin real0m2.582s user0m2.467s sys 0m0.111s Binary size 18088 bytes after strip. FPC 3.0.3 -O3: time ./test1_fpc real0m4.074s user0m3.955s sys 0m0.119s Binary size 177576 bytes after strip.