webgrind

Xdebug Profiling Web Frontend in PHP

Github星跟蹤圖

Webgrind

Webgrind is an Xdebug profiling web frontend in PHP. 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. Here's a screenshot showing the output from profiling:

Features

  • Super simple, cross platform installation - obviously :)
  • Track time spent in functions by self cost or inclusive cost. Inclusive cost is time inside function + calls to other functions.
  • See if time is spent in internal or user functions.
  • See where any function was called from and which functions it calls.
  • Generate a call graph using gprof2dot.py

Suggestions for improvements and new features are more than welcome - this is just a start.

Installation

  1. Download webgrind
  2. Unzip package to favourite path accessible by webserver.
  3. Load webgrind in browser and start profiling

Alternatively, on PHP 5.4+ run the application using the PHP built-in server
with the command composer serve or php -S 0.0.0.0:8080 index.php if you
are not using Composer.

For faster preprocessing, give write access to the bin subdirectory, or compile manually:

  • Linux / Mac OS X: execute make in the unzipped folder (requires GCC or Clang.)
  • Windows: execute nmake -f NMakeFile in the unzipped folder (requires Visual Studio 2015 or higher.)

See the Installation Wiki page for more.

Credits

Webgrind is written by Joakim Nygård and Jacob Oettinger. It would not have been possible without the great tool that Xdebug is thanks to Derick Rethans.

Current maintainer is Micah Ng.

主要指標

概覽
名稱與所有者jokkedk/webgrind
主編程語言PHP
編程語言PHP (語言數: 7)
平台
許可證Other
所有者活动
創建於2011-01-19 17:13:31
推送於2024-07-12 20:02:02
最后一次提交2023-10-04 08:39:52
發布數22
最新版本名稱v1.9.3 (發布於 2023-10-04 08:40:58)
第一版名稱0.3 (發布於 )
用户参与
星數3.3k
關注者數147
派生數410
提交數299
已啟用問題?
問題數103
打開的問題數39
拉請求數41
打開的拉請求數16
關閉的拉請求數30
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?