Is there a way to do profiling easily?

Notice: This thread is very old.
karelb
Member | 17
+
0
-

Hello,

I am beginning with Nette,

I found out that my application takes too long to load. Is there something like “profiler” in Nette?

There is the Tracy thingie down there, but it shows just the total time. I know I can use debug timer and write it somewhere, but, well, if there was some simplier way, I would welcome it.

hrach
Member | 1834
+
0
-

Nette itselfs does not container any specific profiler tool. You can try xhprof, or sth else.
However, if it's too slow, there can be a problem. Do you have properly set the cache?

Majkl578
Moderator | 1364
+
0
-

I would suggest XHProf extension in combination with xhprof.io as a GUI.

karelb
Member | 17
+
0
-

Thanks for info; I will try that next time I have a problem like that.

(I found my problem in the meantime.)