[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-8530":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":17,"stars30d":18,"stars90d":16,"forks30d":16,"starsTrendScore":19,"compositeScore":20,"rankGlobal":10,"rankLanguage":10,"license":21,"archived":22,"fork":22,"defaultBranch":23,"hasWiki":24,"hasPages":24,"topics":25,"createdAt":10,"pushedAt":10,"updatedAt":29,"readmeContent":30,"aiSummary":31,"trendingCount":16,"starSnapshotCount":16,"syncStatus":32,"lastSyncTime":33,"discoverSource":34},8530,"webgrind","jokkedk\u002Fwebgrind","jokkedk","Xdebug Profiling Web Frontend in PHP","",null,"PHP",3330,410,142,39,0,1,4,3,29.84,"Other",false,"master",true,[26,27,28],"debugging-tool","php","xdebug","2026-06-12 02:01:54","Webgrind\n========\nWebgrind is an [Xdebug](http:\u002F\u002Fwww.xdebug.org) profiling web frontend in PHP. It implements a subset of the features of [kcachegrind](https:\u002F\u002Fkcachegrind.github.io\u002F) 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:\n\n\u003Ca href=\"https:\u002F\u002Fjokkedk.github.io\u002Fwebgrind\u002Fimg\u002Fwebgrind_2008_large.png\">\u003Cimg src=\"https:\u002F\u002Fjokkedk.github.io\u002Fwebgrind\u002Fimg\u002Fwebgrind_2008_large.png\" height=\"384\">\u003C\u002Fa>\n\nFeatures\n--------\n  * Super simple, cross platform installation - obviously :)\n  * Track time spent in functions by self cost or inclusive cost. Inclusive cost is time inside function + calls to other functions.\n  * See if time is spent in internal or user functions.\n  * See where any function was called from and which functions it calls.\n  * Generate a call graph using [gprof2dot.py](https:\u002F\u002Fgithub.com\u002Fjrfonseca\u002Fgprof2dot)\n\nSuggestions for improvements and new features are more than welcome - this is just a start.\n\nInstallation\n------------\n  1. Download webgrind\n  2. Unzip package to favourite path accessible by webserver.\n  3. Load webgrind in browser and start profiling by clicking the \"update\" button in the top right corner\n\nAlternatively, on PHP 5.4+ run the application using the PHP built-in server\nwith the command `composer serve` or `php -S 0.0.0.0:8080 index.php` if you\nare not using Composer.\n\nFor faster preprocessing, give write access to the `bin` subdirectory, or compile manually:\n  * Linux \u002F Mac OS X: execute `make` in the unzipped folder (requires GCC or Clang.)\n  * Windows: execute `nmake -f NMakeFile` in the unzipped folder (requires Visual Studio 2015 or higher.)\n\nSee the [Installation Wiki page](https:\u002F\u002Fgithub.com\u002Fjokkedk\u002Fwebgrind\u002Fwiki\u002FInstallation) for more.\n\nUse with Docker\n---------------\n\nInstead of uploading webgrind to a web server or starting a local one, you can use the [official Docker image](https:\u002F\u002Fhub.docker.com\u002Fr\u002Fjokkedk\u002Fwebgrind) to\nquickly inspect existing xDebug profiling files. To use the Docker image, run the following command with\n`\u002Fpath\u002Fto\u002Fxdebug\u002Ffiles` replaced by the actual path of your profiling files.\n\n```\ndocker run --rm -v \u002Fpath\u002Fto\u002Fxdebug\u002Ffiles:\u002Ftmp -p 80:80 jokkedk\u002Fwebgrind:latest\n```\n\nNow open `http:\u002F\u002Flocalhost` in your browser. After using webgrind you can stop the Docker container by pressing\n`CTRL \u002F Strg` + `C`.\n\nTo use the built-in file viewer, mount the appropriate files under `\u002Fhost` in the container.\n\nCredits\n-------\nWebgrind is written by [Joakim Nygård](http:\u002F\u002Fjokke.dk) and [Jacob Oettinger](http:\u002F\u002Foettinger.dk). It would not have been possible without the great tool that Xdebug is thanks to [Derick Rethans](http:\u002F\u002Fwww.derickrethans.nl).\n\nCurrent maintainer is [Micah Ng](https:\u002F\u002Fgithub.com\u002Falpha0010).\n","Webgrind是一个基于PHP的Xdebug性能分析前端工具。它提供了快速简便的安装过程，支持跨平台运行，并且能够追踪函数的自耗时和包含调用其他函数在内的总耗时，帮助开发者识别程序中的性能瓶颈。此外，Webgrind还允许用户查看内部函数与用户定义函数的时间消耗对比、函数调用关系以及生成调用图等功能。适用于需要对PHP应用程序进行初步性能优化或调试的场景下使用，特别是当项目中已集成了Xdebug扩展时，Webgrind能提供直观有效的辅助。",2,"2026-06-11 03:18:29","top_language"]