lox / regreph
A test framework for measuring performance regressions
v1.0.0
2014-02-26 11:06 UTC
Requires
- php: >=5.3.2
- facebook/xhprof: dev-master
This package is not auto-updated.
Last update: 2024-11-05 06:04:56 UTC
README
Regreph is a performance regression analysis tool for PHP + XHProf.
Screenshot
Showing the build screen from a performance regression in Pheasant:
Running
bin/regreph <testfile> <projectdir> <refspec>
An example test file is https://gist.github.com/lox/33ab5a91edfaf487acf9
The refspec refers to a particular git revision, for instance HEAD~10 or a SHA1 hash.
Installing
git clone git://github.com/lox/regreph.git
cd regreph
composer install
Requires XHProf from PECL. Suggest having a copy of the FB xhprof project running somewhere to use the web view for comparison:
git clone git://github.com/facebook/xhprof.git
phpup xhprof/xhprof_html/index.php