<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On 11 Sep 2010, at 08:55, Martin Schreiber wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; font-family: Monaco; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; ">Interesting is that Delphi 7 compiles about 10 times faster than FPC on the<span class="Apple-converted-space"> </span><br>same machine.<br><a href="http://www.mail-archive.com/fpc-devel%40lists.freepascal.org/msg08029.html">http://www.mail-archive.com/fpc-devel%40lists.freepascal.org/msg08029.html</a><br>Results with more code and FPC 2.4:<br><a href="http://thread.gmane.org/gmane.comp.ide.mseide.user/18797">http://thread.gmane.org/gmane.comp.ide.mseide.user/18797</a><br>One would think Delphi and FPC need the same disk IO?<br></span></blockquote></div><br><div>First of all, they don't, unless Delphi's source/DCU searching and DCU loading logic is identical to FPC's.</div><div><br></div><div>Secondly, even *if* FPC (due to its design) is currently mainly limited in speed by I/O and *if* parellising would not help much because of that reason, then it can still also be slower than Delphi in other ways. Since Delphi 7 does not use parallel compilation (afaik), that's in fact a given.</div><div><br></div><div>So yes, FPC is slower than Delphi. Would parallelising FPC reduce the speed gap? Maybe (more likely for hot compiles), maybe not (more likely for cold compiles).</div><div><br></div><div><br></div><div>Jonas</div></body></html>