kcachegrind
What is “” an indication of in Xdebug?
It is heuristic cycle detection. You can turn it off from toolbar or from menu “View->Detect cycles” or “View->Do cycle detection”. Cycle is something like recursion, both direct ( f() -> f() -> f() where -> means call ) and indirect ( f()->g()->f()->g()->f()) Callgring format (used in kcachegrind) is not saving full call stack, it … Read more
Using cProfile results with KCacheGrind
With cProfile you can also profile existing programs, without making any separate profiling script. Just run program with profiler python -m cProfile -o profile_data.pyprof script_to_profile.py and open profile data in kcachegrind with pyprof2calltree, whose -k switch automatically opens data in kcachegrind pyprof2calltree -i profile_data.pyprof -k For example profiling whole paster server and webapp would be … Read more