Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Slow form
Message
From
29/11/2001 06:17:27
 
 
To
29/11/2001 05:16:59
Paul Robinshaw
Silkworm Technologies Limited
Macclesfield, United Kingdom
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00587370
Message ID:
00587384
Views:
27
Hi!

Just put a few temporary useless commands in the BeforeOpenTables event in the data environment. Then use coverage profiles or measuring time between some method calls in the code to investigate which part of the form perform slowly.

>Hi All,
>
>I'm attempting to find bottlenecks in a form that's terminally slow to load.
>
>Here're the things that I know are wrong:
>
>1. Too many controls on the form.
>2. Many tables and views being opened in the DE.
>3. I suspect things like refresh is being called many times.
>
>In the long term, I know the form needs redesigning either with less controls or less tables & views or by instantiating things later.
>
>What I want to do immediately is inspect what's being opened in the DE. Has anyone got any ideas about tactics to investigate what's happening in the DE?
>
>Regards
>
>Paul
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Previous
Reply
Map
View

Click here to load this message in the networking platform