Questions tagged [webgrind]

Webgrind is a Xdebug profiling web frontend in PHP5

Webgrind is a Xdebug profiling web frontend in PHP5. It implements a subset of the features of kcachegrind and installs in seconds and works on all platforms. For quick'n'dirty optimizations it does the job.

GitHub: https://github.com/jokkedk/webgrind

12 questions
11
votes
2 answers

webgrind not showing function names or file source

I'm trying to profile a web application with xDebug and Webgrind since I'm doing it in a remote Linux server. For some weird reason it doesn't show call names or file source. I was suspecting that there might be some kind problem with readying the…
DonRico
  • 182
  • 12
4
votes
0 answers

Webgrind can see cachegrind file but no output when using ?XDEBUG_PROFILE

When I use ?XDEBUG_PROFILE in the URL of my script, I get the following in webgrind: It appears to detected the cachegrind files but it's not displaying the data. However, if I turn off xdebug.profiler_enable_trigger and enable…
IMB
  • 15,163
  • 19
  • 82
  • 140
4
votes
2 answers

Missing function names when opening CacheGrind file in WinCacheGrind

Hell All. I installed XDEBUG on a apache/php server as a ZEND module. It outputs profiling files but the output does not contain function names, just numbers. I does not look like other cachegrind output files. My files have numbers instead of…
4
votes
1 answer

How to limit cachegrind files created by xdebug-profiler

Is there any way to limit cachegrind files (xdebug profiling output)? I would like to enable xdebug.profile for debugging whole project (not only trigger), but if someone forget to disable it, I don't want disc to be full. I didn't find any option…
yulka
  • 61
  • 6
2
votes
0 answers

Sorting chronologically in webgrind

I just started using Webgrind to analyze php function calls. Is there any way to sort the calls in the order they were made, rather than alphabetically by name or by the number of times a function was called? For example, under…
EmmyS
  • 11,892
  • 48
  • 101
  • 156
1
vote
0 answers

apache xdebug & webgrind Output Not writing Log File

I'm using Mamp and after install webgrind the Xdebug output is not been written in the proper file: not in the selected path (/Applications/MAMP/logs/php_error.log) nor in the tmp folder. Apache Error Log says: [info] [client 127.0.0.1] (32)Broken…
Nacionarte
  • 33
  • 3
0
votes
1 answer

PHP: How to make INVOKING internal functions faster

I am trying to optimize a function that is called 560x during the execution of a request. The function is this (some info redacted): function foo($text) { if (preg_match('/[`"]/', $text)) { throw new Exception("very detailed error"); …
Moe Sanjaq
  • 25
  • 6
0
votes
1 answer

How to stop Xdebug to stop debugging itself?

I'm using Xdebug with Webgrind. If I use below settings in php.ini, eveything works fine: zend_extension = /usr/lib/php/20151012/xdebug.so xdebug.profiler_enable_trigger = 1 xdebug.profiler_output_dir = /var/www/html/xdebug If I open webgrind by…
Axel
  • 113
  • 3
0
votes
0 answers

Can't get XDEBUG , WEBGRIND to work on windows

I'm trying to use Webgrind. Who can help me on track. I have the following situation. Windows-7 64 bit APACHE - 2.4.9 PHP - 5.5.12 with XDEBUG 2.4.0 and Webgrind 1.3 (latest version) installed in: http://localhost/webgrind/ For testing purposes I…
Paul
  • 94
  • 1
  • 2
  • 8
0
votes
1 answer

Where are webgrind profiling files stored in Ubuntu 14.04?

I have setup xdebug and webgrind and I have generated several profiling files. Where are those generated files stored?
Javier
  • 13
  • 1
  • 5
0
votes
1 answer

Php Xdebug Proflling - Understand what to check

I'm new with XDebug. I see it like a "must have" tool to make sure the app im coding is done well. Here's my setup : - MAMP on Macbook Air. - Zend XDebug activated in PHP.INI - Webgrind for reports I made all the configuration to make the profiler…
SequenceDigitale.com
  • 4,038
  • 1
  • 24
  • 23
0
votes
0 answers

500 Internal Server Error when trying to open webgrind

I am using linux. I have installed webgrind for xdebug profiling of php code. I have made the proper changes in the httpd.conf etc. when i am trying to connect from browser it says 500 Internal Server Error I cant figure it out. [Tue Feb 18…
Santhosh
  • 9,965
  • 20
  • 103
  • 243