XHProf
XHProf is a function-level hierarchical profiler for PHP and has a simple HTML based user interface. (by phacility)
PHPBench
PHP Benchmarking framework (by phpbench)
XHProf | PHPBench | |
---|---|---|
- | 3 | |
2,597 | 1,904 | |
0.0% | 0.6% | |
0.0 | 7.1 | |
over 5 years ago | about 2 months ago | |
PHP | PHP | |
Apache License 2.0 | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
XHProf
Posts with mentions or reviews of XHProf.
We have used some of these posts to build our list of alternatives
and similar projects.
We haven't tracked posts mentioning XHProf yet.
Tracking mentions began in Dec 2020.
PHPBench
Posts with mentions or reviews of PHPBench.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-03-22.
-
I've been loving Benchmarking lately, but the Framework does this one quirky thing with the first result of a set. Specifically, the first return is always unusually high.
That was my first thought too. I used https://github.com/phpbench/phpbench in the past and it has a warmup feature where the code will run a couple times before the real benchmarking start
-
Comparing PHP Collections
I used phpbench to measure performance. I think one of the big differences between all the solutions is the type checking. So I decided to try measure it. How much faster will code with/without type checking?
-
Benchmark: Mezon Router is up to 196 tomes faster then Hoa Router
use phpbench
What are some alternatives?
When comparing XHProf and PHPBench you can also consider the following projects:
xDebug - Xdebug — Step Debugger and Debugging Aid for PHP
PHP Debug Bar - Debug bar for PHP
Kint - Kint - Advanced PHP dumper
Tracy - 😎 Tracy: the addictive tool to ease debugging PHP code for cool developers. Friendly design, logging, profiler, advanced features like debugging AJAX calls or CLI support. You will love it.
PHPDBG
Dontbug Debugger
APM - PHP APM (Alternative PHP Monitor)
Barbushin PHP Console - Handle PHP errors, dump variables, execute PHP code remotely in Google Chrome