Best practice for performance testing

Roger Eller roger.e.eller at sealedair.com
Thu Sep 15 07:52:07 EDT 2011


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



More information about the use-livecode mailing list