Re: [fpc-devel] Comparison FPC 2.2 - Delphi 7

2007-07-05 Thread Florian Klaempfl
Neil Graham schrieb: > Florian Klaempfl wrote: >> I profiled it some time ago and the compile time is simple spread over >> the compiler. Only two procedures consumed a lot of time: fillchar and >> move. I added the fastmove code at this time because we spend at least >> some time in move. > What d

[fpc-devel] CHM compiler

2007-07-05 Thread Andrew Haines
Hi all, I've been working on a compiler for creating CHM files. It's pretty much done. :) I've written a GUI to create and compile project files also a simple command line program that compiles project files. And a Sitemap editor (part the GUI) needed to make the Table of Contents and the Index.

Re: [fpc-devel] Comparison FPC 2.2 - Delphi 7

2007-07-05 Thread Neil Graham
Florian Klaempfl wrote: I profiled it some time ago and the compile time is simple spread over the compiler. Only two procedures consumed a lot of time: fillchar and move. I added the fastmove code at this time because we spend at least some time in move. What did you do to profile it? Is it so

Re: [fpc-devel] Comparison FPC 2.2 - Delphi 7

2007-07-05 Thread Jonas Maebe
On 05 Jul 2007, at 10:15, Florian Klaempfl wrote: For build related crashes it is accepted if it can be reproduced by a few simple steps like get this source, compile with that command, touch that file, rebuild. Indeed. At least Peter and I have already fixed quite a few MSEIde- related b

Re: [fpc-devel] FPC on Intel and AMD dual core processors

2007-07-05 Thread Jonas Maebe
On 05 Jul 2007, at 08:58, Brad Campbell wrote: I'm using it on a Core Duo here. The biggest issue I've found is a multi-threaded make of the entire source tree. make -j3 will die as it tries to link a library that has not finished compiling yet. I've reverted to a single threaded build a

Re: [fpc-devel] Comparison FPC 2.2 - Delphi 7

2007-07-05 Thread Florian Klaempfl
Martin Schreiber schrieb: > On Thursday 05 July 2007 10.03, Daniël Mantione wrote: >>> Crashes without -B happen with FPC 2.2 too. >> ? Bug reports please :) >> > Only if you accept MSEgui as a testcase. It would use days or weeks for me to > isolate the problems with my limited knowledge of the c

Re: [fpc-devel] Comparison FPC 2.2 - Delphi 7

2007-07-05 Thread Bernd Mueller
Felipe Monteiro de Carvalho wrote: On 7/4/07, Martin Schreiber <[EMAIL PROTECTED]> wrote: Compile time FPC: 17.9s Delphi: 1.28s Exe size FPC: 2.27MB Delphi: 1.87MB Contrary to most others, my analysis is the following: It's really great that fpc now generates binaries of competitive size with

Re: [fpc-devel] Comparison FPC 2.2 - Delphi 7

2007-07-05 Thread Michael Van Canneyt
On Thu, 5 Jul 2007, Florian Klaempfl wrote: > Marco van de Voort schrieb: > >> Op Thu, 5 Jul 2007, schreef Marco van de Voort: > >>> So we can be short about this issue: want to improve? Start measuring, the > >>> compiler is just a bloody pascal program. > >> During the 2.1 cycle, very little a

Re: [fpc-devel] Comparison FPC 2.2 - Delphi 7

2007-07-05 Thread Martin Schreiber
On Thursday 05 July 2007 10.03, Daniël Mantione wrote: > > Crashes without -B happen with FPC 2.2 too. > > ? Bug reports please :) > Only if you accept MSEgui as a testcase. It would use days or weeks for me to isolate the problems with my limited knowledge of the compiler internals. Martin _

Re: [fpc-devel] Comparison FPC 2.2 - Delphi 7

2007-07-05 Thread Daniël Mantione
Op Thu, 5 Jul 2007, schreef Martin Schreiber: > On Thursday 05 July 2007 09.58, Daniël Mantione wrote: > > Op Thu, 5 Jul 2007, schreef Martin Schreiber: > > > On Thursday 05 July 2007 09.02, Michael Van Canneyt wrote: > > > > And as for Delphi being fast - well, my daytime job projects require >

Re: [fpc-devel] Comparison FPC 2.2 - Delphi 7

2007-07-05 Thread Martin Schreiber
On Thursday 05 July 2007 09.58, Daniël Mantione wrote: > Op Thu, 5 Jul 2007, schreef Martin Schreiber: > > On Thursday 05 July 2007 09.02, Michael Van Canneyt wrote: > > > And as for Delphi being fast - well, my daytime job projects require > > > several minutes for Delphi to crunch through them. I

Re: [fpc-devel] Comparison FPC 2.2 - Delphi 7

2007-07-05 Thread Daniël Mantione
Op Thu, 5 Jul 2007, schreef Martin Schreiber: > On Thursday 05 July 2007 09.02, Michael Van Canneyt wrote: > > > > And as for Delphi being fast - well, my daytime job projects require > > several minutes for Delphi to crunch through them. I've had Delphi hang up > > on me more than once for 15 m

Re: [fpc-devel] Comparison FPC 2.2 - Delphi 7

2007-07-05 Thread Martin Schreiber
On Thursday 05 July 2007 09.02, Michael Van Canneyt wrote: > > And as for Delphi being fast - well, my daytime job projects require > several minutes for Delphi to crunch through them. I've had Delphi hang up > on me more than once for 15 minutes on simple projects with complex > dependencies... Al

Re: [fpc-devel] Comparison FPC 2.2 - Delphi 7

2007-07-05 Thread Florian Klaempfl
Marco van de Voort schrieb: >> Op Thu, 5 Jul 2007, schreef Marco van de Voort: >>> So we can be short about this issue: want to improve? Start measuring, the >>> compiler is just a bloody pascal program. >> During the 2.1 cycle, very little attention was paid to the speed of the >> compiler itself

Re: [fpc-devel] Comparison FPC 2.2 - Delphi 7

2007-07-05 Thread Martin Schreiber
On Wednesday 04 July 2007 22.01, Yury Sidorov wrote: > From: "Martin Schreiber" <[EMAIL PROTECTED]> > > > Comparison FPC 2.2 - Delphi 7. > > > > MSEide aps\ide\mseide.pas without database support: > > Compile time FPC: 17.9s Delphi: 1.28s > > Exe size FPC: 2.27MB Delphi: 1.87MB > > > > Commandline

Re: [fpc-devel] Comparison FPC 2.2 - Delphi 7

2007-07-05 Thread Felipe Monteiro de Carvalho
On 7/4/07, Martin Schreiber <[EMAIL PROTECTED]> wrote: Compile time FPC: 17.9s Delphi: 1.28s Exe size FPC: 2.27MB Delphi: 1.87MB Contrary to most others, my analysis is the following: It's really great that fpc now generates binaries of competitive size with the Delphi ones, and the build size

Re: [fpc-devel] Comparison FPC 2.2 - Delphi 7

2007-07-05 Thread Marco van de Voort
> Op Thu, 5 Jul 2007, schreef Marco van de Voort: > > So we can be short about this issue: want to improve? Start measuring, the > > compiler is just a bloody pascal program. > > During the 2.1 cycle, very little attention was paid to the speed of the > compiler itself. This is because the compil

Re: [fpc-devel] Comparison FPC 2.2 - Delphi 7

2007-07-05 Thread Daniël Mantione
Op Thu, 5 Jul 2007, schreef Marco van de Voort: > > On Thu, 5 Jul 2007, Yury Sidorov wrote: > > > D7:1.6s. > > > > > > Results are sad :( It is a good reason to find out why FPC is so slow even > > > without optimizations. Linking time is less then 1s, so it is not slow. > > > > La

Re: [fpc-devel] Comparison FPC 2.2 - Delphi 7

2007-07-05 Thread Florian Klaempfl
Michael Van Canneyt schrieb: > > Last I heard, the Delphi compiler is written in assembler, and is for 1 CPU > only, > which means they can do a lot of optimizations. FPC has a more general > architecture > and therefore is not "optimal" in terms of speed. > > Why do you think Borland has such

Re: [fpc-devel] Comparison FPC 2.2 - Delphi 7

2007-07-05 Thread Marco van de Voort
> On Thu, 5 Jul 2007, Yury Sidorov wrote: > > D7:1.6s. > > > > Results are sad :( It is a good reason to find out why FPC is so slow even > > without optimizations. Linking time is less then 1s, so it is not slow. > > Last I heard, the Delphi compiler is written in assembler, and is f

Re: [fpc-devel] Comparison FPC 2.2 - Delphi 7

2007-07-05 Thread Michael Schnell
Does Delphi really rebuild all units, then ? No, it does not. Of course it does do a decent make process. But for me it does a "link" when I press F9 just to restart the program again when debugging. Why is this necessary ? (Delphi just start the program here.) or am I doing someth

Re: [fpc-devel] Comparison FPC 2.2 - Delphi 7

2007-07-05 Thread Michael Van Canneyt
On Thu, 5 Jul 2007, Micha Nelissen wrote: > Yury Sidorov wrote: > > > I used 'compile-fpc | grep compiled'. Where compile-fpc is a batch file. > > > > I think it is because you run compilation for the second time and files were > > in cache. > > No, I've run it several times, it's repeatable. >

Re: [fpc-devel] Comparison FPC 2.2 - Delphi 7

2007-07-05 Thread Michael Van Canneyt
On Thu, 5 Jul 2007, Yury Sidorov wrote: > From: "Micha Nelissen" <[EMAIL PROTECTED]> > > Jonas Maebe wrote: > > > The main reduction in compile time would probably come from using -O-1 > > > -Ooregvar instead of -O2. I don't think the resulting code will be much > > > slower either in most cases