Antonio Linares wrote:Enrico,
How many records you have on the DBF ?
About 75000 records.
EMG
Antonio Linares wrote:Enrico,
How many records you have on the DBF ?
StefanHaupt wrote:Enrico,
just to understand, what could be the advantages using MT instead of ST ? What functions could be put in threads ?
Im my understanding a database application is a single thread application with single tasks, e.g. browsing a dbf or searching in a dbf. What can be done, to get simultaneous tasks ?
Stefan
Antonio Linares wrote:Enrico,
I created a 80.000 records DBF (using dbcre8.exe) and tested it with Harbour:
ST: 0,299 secs
MT: 0,345 secs
You are right, MT apps are slower
I am reporting it to the Harbour dev group:
https://groups.google.com/forum/?fromgr ... Ap9qFn9gSs
Antonio Linares wrote:Enrico,
Mindaugas just answered. his explanation sounds logical, but nobody would want to slow down his app...
Antonio Linares wrote:Enrico,
Have you checked, when you use a background task, if the app speed decrease ?
Patrizio wrote:Enrico, Antonio: a test of that kind don't make sense in MT.
Patrizio wrote:Enrico, the error is considered an application MT as an application ST with an extra function.
MT applications are designed especially for parallel processes (we use .NET MT app for processing many ascii files at same time).
Enrico Maria Giordano wrote:Patrizio,
That's why I prefer background tasks.
EMG
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: Google [Bot] and 110 guests