Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

topspeed driver speed problem - poor performance
Hi,

I have made a simple test (with Clarion 5.5 patch G, using different  file
drivers) writing 500 values to database in a simple loop using just
ADD(value) to write to a file.

Interesting results with different drivers in winNT4.0:

1. topspeed driver - 7.2 seconds (in winNT4.0)
2. ODBC driver - 6 seconds (in winNT4.0)
3. basic driver - less than 0.02 seconds !!!!!!!!!!! (speed difference to
topspeed is close to 1:5000 !!!!!)
4. clarion driver - 1.2 seconds

Results in win2000:
1. topspeed - 65 seconds (yes, 10 times longer time than in NT!)

Does anyone know why the topspeed driver is this slow? As I see this, the
clarion topspeed driver has a major problem, performance is very poor (even
in NT4.0).

Also, it would be nice to hear from Clarion 6 users wheter the performance
is the same.

- Seppo Pyörret






Report this thread to moderator Post Follow-up to this message
Old Post
Seppo Pyorret
03-27-04 04:01 AM


Re: topspeed driver speed problem - poor performance
On Fri, 12 Mar 2004 13:44:23 +0200, "Seppo Pyorret"
<seppo.pyorret@sr-instruments.com> wrote:
>I have made a simple test (with Clarion 5.5 patch G, using different  file
>drivers) writing 500 values to database in a simple loop using just
>ADD(value) to write to a file.

<snip>

>Does anyone know why the topspeed driver is this slow? As I see this, the
>clarion topspeed driver has a major problem, performance is very poor (even
>in NT4.0).

The TPS driver sacrifices speed for stability.  It is unbelievably
slow on all operating systems, but you only really notice when you are
doing mass updates or inserts.

Try your tests again, but this time LOGOUT the TPS file before you
start and COMMIT afterwards.  Should take somewhere around 1 second...

>Also, it would be nice to hear from Clarion 6 users wheter the performance
>is the same.

Same driver, same performance.  It ain't gonna change.

Jason

Report this thread to moderator Post Follow-up to this message
Old Post
Jason Berkan
03-27-04 04:01 AM


Re: topspeed driver speed problem - poor performance
If you aren't sharing the files make sure you are not opening them shared
in the Global properties.

Also check out stream and flush.  I had an app with non shared files that
went so fast after these changes that when I blinked I missed my mass
update.

Bob

On Fri, 12 Mar 2004 09:08:52 -0600, Jason Berkan <jason_berkan@canada.com>
wrote:

> On Fri, 12 Mar 2004 13:44:23 +0200, "Seppo Pyorret"
> <seppo.pyorret@sr-instruments.com> wrote: 
>
> <snip>
> 
>
> The TPS driver sacrifices speed for stability.  It is unbelievably
> slow on all operating systems, but you only really notice when you are
> doing mass updates or inserts.
>
> Try your tests again, but this time LOGOUT the TPS file before you
> start and COMMIT afterwards.  Should take somewhere around 1 second...
> 
>
> Same driver, same performance.  It ain't gonna change.
>
> Jason



Report this thread to moderator Post Follow-up to this message
Old Post
spuds
03-27-04 04:01 AM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

Clarion archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 11:58 AM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.