Re: [fpc-devel] PShortString

2010-09-10 Thread Daniël Mantione
Op Fri, 10 Sep 2010, schreef Hans-Peter Diettrich: Sergei Gorelkin schrieb: When dynamic strings are used all around, is the use of pointers to ShortString still recommended? (fmodule contains a lot of them) Whenever you care about performance, you'll quickly realize that dynamic strings

Re: [fpc-devel] PShortString

2010-09-10 Thread Florian Klaempfl
Am 10.09.2010 02:41, schrieb Hans-Peter Diettrich: Florian Klaempfl schrieb: 1. Ancient code, keep in mind, most code not being back end code was written ~10 years ago. At this time we even could not depend on perfectly working ansistrings. I'm talking about nowadays situation. You asked

Re: [fpc-devel] PShortString

2010-09-10 Thread Sergei Gorelkin
Daniël Mantione пишет: Op Fri, 10 Sep 2010, schreef Hans-Peter Diettrich: Sergei Gorelkin schrieb: When dynamic strings are used all around, is the use of pointers to ShortString still recommended? (fmodule contains a lot of them) Whenever you care about performance, you'll quickly

[fpc-devel] Apple caves on iOS 3rd party development tools restriction.

2010-09-10 Thread Graeme Geldenhuys
This must be good news for some, and the FPC project. :-) http://www.osnews.com/story/23785/Apple_Caves_Drops_Ban_on_iOS_Third-party_Development_Tools http://www.apple.com/pr/library/2010/09/09statement.html Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit using Free

[fpc-devel] FPC/Lazarus Rebuild performance

2010-09-10 Thread Adem
Sometime ago, there was a brief mention of multi-threading FPC would be counter productive because compilation process was mostly disk IO bound --this is what I understood anyway. I wanted to check to see if disk IO was really limiting FPC/Lazarus compile performance. The only quick way I

Re: [fpc-devel] FPC/Lazarus Rebuild performance

2010-09-10 Thread Jonas Maebe
On 10 Sep 2010, at 17:43, Adem wrote: SSD: 103,060 ms (1 min 43 sec) RAMDisk: 105,463 ms (1 min 46 sec) This doesn't make sense. FPC/Lazarus compiles on the faster medium longer (albeit only 3 sec.). Everything on your SSD is cached in RAM, so it's normal that both are about the same

Re: [fpc-devel] FPC/Lazarus Rebuild performance

2010-09-10 Thread Adem
On 2010-09-10 06:54 PM, Jonas Maebe wrote: On 10 Sep 2010, at 17:43, Adem wrote: SSD: 103,060 ms (1 min 43 sec) RAMDisk: 105,463 ms (1 min 46 sec) This doesn't make sense. FPC/Lazarus compiles on the faster medium longer (albeit only 3 sec.). I am sorry, but what you've just said

Re: [fpc-devel] FPC/Lazarus Rebuild performance

2010-09-10 Thread Jonas Maebe
On 10 Sep 2010, at 18:05, Adem wrote: On 2010-09-10 06:54 PM, Jonas Maebe wrote: On 10 Sep 2010, at 17:43, Adem wrote: SSD: 103,060 ms (1 min 43 sec) RAMDisk: 105,463 ms (1 min 46 sec) This doesn't make sense. FPC/Lazarus compiles on the faster medium longer (albeit only 3 sec.).

Re: [fpc-devel] FPC/Lazarus Rebuild performance

2010-09-10 Thread Marco van de Voort
In our previous episode, Adem said: I wanted to check to see if disk IO was really limiting FPC/Lazarus compile performance. The only quick way I could devise to check this was to use two different disks which are significantly different from one another in terms of performance. Both are

Re: [fpc-devel] FPC/Lazarus Rebuild performance

2010-09-10 Thread Daniel
AFAIR the ATTO tool measures read and write bursts of single files X in size. An interesting exercise is to transfer 1000 files to a USB memory stick in 2 situations: - Compacted in a single file, transfers at or near full USB speed. - Spread out normally on a folder takes forever. This happens

Re: [fpc-devel] FPC/Lazarus Rebuild performance

2010-09-10 Thread Adem
On 2010-09-10 07:16 PM, Daniel wrote: This happens because the time it takes to SWITCH between one file to another is significant. Ending one operation (a single file transfer) and begining another takes a time slice. Summing up all these start and finish ops takes a significant time slice. I