profiling one part of an application

At the moment I'm testing the xdebug profiler.
I want to test only a portion of an application.

I use ' Tools-> Analysis Xdebug Profiler snapshot' .

How can I navigate to a part of the app.

How can I influence the output of the profiler?
For example:

xdebug_start_profiler ();

... snip ...
my code
... snip ...

xdebug_stop_profiler ();

Sincerely yours


1 comment
Comment actions Permalink
Hi Stephan!

Unfortunately there is no way to do it. You can profile only the whole execution.
XHPROF profiler have can profile a part of the script. Please look at if you are interested in.

Thanks for feedback!

Please sign in to leave a comment.