Instead of writing to a file each time, write to a global variable, then write
out the variable to a file at the end of processing.
Bob
On Sep 15, 2011, at 4:40 AM, Andrew Henshaw wrote:
> Hi,
>
> Ive got an application that quite happily runs along at an acceptable speed
> on my Macs, but
On Thu, Sep 15, 2011 at 8:30 AM, Andrew Henshaw wrote:
> Yes, the Windows spec is pretty similar to my slower macs, but the
> performance is significantly different, for example adding a few items at
> once takes a fraction of a second on the mac, but about 2 seconds on the
> windows machine s
I don't know about best practice. Here are some thoughts.
If I suspect some particular section of code, I bracket it with timing scripts.
If your problem is on the order of 2 seconds, then you can call a handler
before and a hander afterward. The first saves the long seconds and the second
g
someone can speed it up
for you.
Mike
--- On Thu, 9/15/11, Andrew Henshaw wrote:
From: Andrew Henshaw
Subject: Re: Best practice for performance testing
To: "How to use LiveCode"
Date: Thursday, September 15, 2011, 7:30 AM
Thanks Roger,
Yes, the Windows spec is pretty si
Thanks Roger,
Yes, the Windows spec is pretty similar to my slower macs, but the
performance is significantly different, for example adding a few items at once
takes a fraction of a second on the mac, but about 2 seconds on the windows
machine so Im sure there is a big code issue there, and
On Thu, Sep 15, 2011 at 7:40 AM, Andrew Henshaw wrote:
> Hi,
>
> Ive got an application that quite happily runs along at an acceptable speed
> on my Macs, but on Windows systems it seems to struggle.
>
> Im trying to pin down the parts of the code that I need to look at so I can
> work out what i
Hi,
Ive got an application that quite happily runs along at an acceptable speed on
my Macs, but on Windows systems it seems to struggle.
Im trying to pin down the parts of the code that I need to look at so I can
work out what is happening. My best guess would be the interaction with the
sql