BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How can I determine the bottlenecks in my Application?

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Thirdparty Tools (General)
View previous topic :: View next topic  
Author Message
ABF
Guest





PostPosted: Fri Jul 22, 2005 9:20 am    Post subject: How can I determine the bottlenecks in my Application? Reply with quote




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





PostPosted: Fri Jul 22, 2005 9:30 am    Post subject: Re: How can I determine the bottlenecks in my Application? Reply with quote



ABF wrote:

Quote:

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
ABF
Guest





PostPosted: Fri Jul 22, 2005 10:37 am    Post subject: Re: How can I determine the bottlenecks in my Application? Reply with 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...
Quote:
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
Matthew Jones
Guest





PostPosted: Fri Jul 22, 2005 11:57 am    Post subject: Re: How can I determine the bottlenecks in my Application? Reply with quote

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





PostPosted: Fri Jul 22, 2005 1:46 pm    Post subject: Re: How can I determine the bottlenecks in my Application? Reply with quote

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





PostPosted: Fri Jul 22, 2005 8:09 pm    Post subject: Re: How can I determine the bottlenecks in my Application? Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Thirdparty Tools (General) All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.