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-20 01:13:31
推送于2024-07-13 04:02:02
最后一次提交2023-10-04 14:39:52
发布数22
最新版本名称v1.9.3 (发布于 2023-10-04 14:40:58)
第一版名称0.3 (发布于 )
用户参与
星数3.3k
关注者数145
派生数410
提交数299
已启用问题?
问题数103
打开的问题数39
拉请求数41
打开的拉请求数16
关闭的拉请求数30
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?