lox/regreph

用于测量性能回归的测试框架

v1.0.0 2014-02-26 11:06 UTC

README

Regreph 是 PHP + XHProf 的性能回归分析工具。

截图

显示从 Pheasant 中性能回归的构建屏幕

Screenshot

运行

bin/regreph <testfile> <projectdir> <refspec>

一个示例测试文件是 https://gist.github.com/lox/33ab5a91edfaf487acf9

refspec 指的是特定的 git 修订版本,例如 HEAD~10 或 SHA1 哈希值。

安装

git clone git://github.com/lox/regreph.git
cd regreph
composer install

需要 PECL 的 XHProf。建议有一个 FB xhprof 项目的副本在某个地方运行,以使用比较的网页视图。

git clone git://github.com/facebook/xhprof.git
phpup xhprof/xhprof_html/index.php