The profiler can start profiling when performing some procedure

I looked through and read a lot of questions / answers about profilers on StackOverflow, but there is still another question that I could not find an answer to.

I have been using TurboPowers Memory Sleuth for many years with Delphi 7, and I'm still very IMHO.

However, I plan to upgrade to Delphi 2010 and suspect that this program will no longer work. So I need to find a replacement.

One of the things that I really liked about Memory Sleuth is that you can select a procedure from the list that it compiled from your project to start profiling.

Usually this event was a button click. Thus, you can easily profile only some long code that you start with the click of a button, but the profiler did not leave all the time to run your program, displaying its main form ...

Profiling began at the beginning of the selected procedure and ended at the end of the selected procedure. Keep in mind that everything is without changing one line in your code (the fact that I find it is very, very important).

Any suggestions that of the profilers that currently exist (and are supported) can do this for me?

+3
source share
4 answers

AQTime . , . Delphi 2010, IDE. , , Delphi 2009 - D2009, .

AQTime 600 . , , , (, Falafel 500 600 ). { : , . , . , %, , .}

, AQTime - , , , . , , , , StackOverflow , ( , ​​ D2009).

:

:

Mason, , AQTime , , . .

Sampling Profiler. . , 90% , , , , . . , MY- .

, asmprofiler. , AQTime, . , , , , AQTime.

p.s. Micro Optimization , AQTime. , AQTime, . .

asmprofiler, .

, Embarcadero Delphi? , 10- Delphi UserVoice. , !

+2
+4

. , , , OutputDebugString. , , Embarcadero .

+3

To find memory leaks, it is best to use AQTime. To find speed issues, have you considered a simple stacking method? It is low tech but effective. Here is an explanation.

+2
source

Source: https://habr.com/ru/post/1726172/


All Articles