Best practice for performance testing

Andrew Henshaw henshaw at me.com
Thu Sep 15 08:30:21 EDT 2011


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 if I can track that down hopefully I can apply those changes throughout the app and get everything running faster.

Bootcamp and VirtualBox implementations of windows Xp, Vista and 7 are the same,  so its definitely not windows either,  it will be my code somewhere!

I hadnt thought of compiling the app on a Windows PC,  I always compile on Mac so Ill give that a try,  thanks

Andy



On 15 Sep 2011, at 12:52, Roger Eller wrote:

> 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 is happening.  My best guess would be the interaction with the
>> sqllite database,  but thats just a guess!
>> 
>> Does anyone have any suggestions as to the best way to do this.
>> 
>> Im thinking of writing a command I can call to simple log some text and the
>> milliseconds to a file,  so I can insert calls to the command through the
>> various code and track exactly what time each are called,  but something in
>> the back of my head says this might not be the best solution as the file
>> write will also take time.
>> 
>> Is there a best practice way to do something like this,  im afraid I
>> started life programming on a Sinclair ZX80 and my skills have probably not
>> progressed much!!
>> 
>> Andy
> 
> 
> Do the Windows machines have equal hardware specs to the Macs where it is
> performing well?  Can you run Windows in Bootcamp on the same Mac for
> testing?  Did you build the Win application on Windows?  That can have an
> effect on execution speed.
> 
> ˜Roger
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list