 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
ABF Guest
|
Posted: Fri Jul 22, 2005 9:20 am Post subject: How can I determine the bottlenecks in my Application? |
|
|
Is there an easy way (or tool) how I may determine where (in what
procedure, SQL, loops, etc) my app is slow (to get the time spent in
each). Ideally you would like a list of all units and their procedures with
an average time each procedure takes to execute, etc.
(It would be nice if Delphi had a compiler option to do profiling with. If
this option
is checked it should generate a text file containing the min, average , and
max times
it took for each procedure/function to execute.)
Thanks
|
|
| Back to top |
|
 |
Francois Malan Guest
|
|
| Back to top |
|
 |
ABF Guest
|
Posted: Fri Jul 22, 2005 10:37 am Post subject: Re: How can I determine the bottlenecks in my Application? |
|
|
Which is the easiest to use?
Thanks
"Francois Malan" <francoism (AT) nospam (DOT) removethistoo.octagon.co.za> wrote in
message news:42e0bcc2 (AT) newsgroups (DOT) borland.com...
|
|
| Back to top |
|
 |
Matthew Jones Guest
|
Posted: Fri Jul 22, 2005 11:57 am Post subject: Re: How can I determine the bottlenecks in my Application? |
|
|
I haven't tried them all I don't think (not in recent years anyway!) but
the AQTime tool is very easy to use and find useful information from. It
has all sorts of graphs showing where time is being taken up. It's paid
for itself many times for me.
/Matthew Jones/
|
|
| Back to top |
|
 |
Alex Zencovich Guest
|
Posted: Fri Jul 22, 2005 1:46 pm Post subject: Re: How can I determine the bottlenecks in my Application? |
|
|
I use ProDelphi last 3 year and find it very simple and useful (by my
experience - easier that AQTime for start use...but little poor than AQTime
too)
Alex
"ABF" <anton (AT) dokker (DOT) com> wrote
| Quote: | Which is the easiest to use?
Thanks
"Francois Malan" <francoism (AT) nospam (DOT) removethistoo.octagon.co.za> wrote in
message news:42e0bcc2 (AT) newsgroups (DOT) borland.com...
ABF wrote:
Is there an easy way (or tool) how I may determine where (in what
procedure, SQL, loops, etc) my app is slow (to get the time spent in
each). Ideally you would like a list of all units and their
procedures with an average time each procedure takes to execute, etc.
You need to profile it.
There is Eric Grange's sampling profiler.
http://glscene.sourceforge.net/misc/SamplingProfiler.zip
Also look at www.automatedqa.com
and www.prodelphi.de
and GPProfile http://17slon.com/gp/gpprofile/index.htm
|
|
|
| Back to top |
|
 |
Del M Guest
|
Posted: Fri Jul 22, 2005 8:09 pm Post subject: Re: How can I determine the bottlenecks in my Application? |
|
|
Pascal it's self is very fast and efficient unless run on a cheap piece of
hardware. The obvious things to check are ..
disablecontrols when looping through data.
dont use tadotable
properly formed database (you mentioned SQL but didn't name database)
repeatedly instantiating and destroying the same object in a loop
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|