Questions tagged [qcachegrind]

6 questions
4
votes
1 answer

How to understand qcachegrind results?

I trying to profile my php app but cant understand indicators in qcachegrind. followed screenshot: its function calls of course. but what means columns incl. and self ? how should i recognize here that some method is need to refactor ?
webcitron
  • 124
  • 11
3
votes
1 answer

Getting QCacheGrind to display Call Graph

I'm trying to analyze some code using QCacheGrind. I am using it under Anaconda3 (64-bit) on Windows 10. To get things going, as a test, I'm profiling a small piece of code from "Advanced Python Programming" by Lanaro, Nguyen, and Kasampalis (page…
Pat B.
  • 419
  • 3
  • 12
2
votes
1 answer

qcachegrind error: Unknown file format. File generated from php xdebug

I am attempting to use xdebug to profile an application written in php7. I've written a script that sets the follow ini settings: ini_set('xdebug.trace_format',1); // Note: I tried 0 and 2 here as…
johncorser
  • 9,262
  • 17
  • 57
  • 102
1
vote
0 answers

Running QCacheGrind on MacOS with graphs

I installed QCacheGrind with homebrew successfully: brew install qcachegrind When I open QCacheGrind app on the tab "Call Graph" I am getting the error: No graph available because the layouting process failed. Try to run the following command did…
tasmaniski
  • 4,767
  • 3
  • 33
  • 65
0
votes
1 answer

One-pass algorithm (clarification needed) Why the space complexity is O(1)?

From en.wikipedia: A one-pass algorithm generally requires O(n) (see 'big O' notation) time and less than O(n) storage (typically O(1)), where n is the size of the input. I made a test with xdebug.profiler_enable=1: function onePassAlgorithm(array…
cofirazak
  • 562
  • 6
  • 16
0
votes
0 answers

QCachegrind is not displaying any data for php profiling, Configuration issue may be

I have installed the xdebug , and qCachegrind, which is the windows ver of KCachegrind.. but could not see any profiling data on this interface. May be i am unable to configure it correctly. Let me tell you that , i have installed Xdebug already ,…
captain_a
  • 3,328
  • 1
  • 14
  • 23