php-memory-profiler
Memory profiler for PHP. Helps finding memory leaks in PHP scripts. (by arnaud-lb)
PHPSpy
low-overhead sampling profiler for PHP 7+ (by adsr)
Our great sponsors
php-memory-profiler | PHPSpy | |
---|---|---|
3 | 1 | |
836 | 1,390 | |
- | - | |
6.2 | 4.5 | |
1 day ago | 2 days ago | |
C | C | |
MIT License | 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.
php-memory-profiler
Posts with mentions or reviews of php-memory-profiler.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-08-26.
-
PHP: memory errors
use memprof
-
Plotting the memory of a PHP process with Gnuplot 📈
I learned a lot in the process, but also noticed the nice memory graphs in the video and figured it would be hard to troubleshoot anything if I didn't have them. When using php extensions such as Benoît's or Arnaud Le Blanc's to take a snapshot of the memory, it's great to think about the most appropriate moment to take that snapshot in order to capture the memory leak you might be hunting. Sure, you can use Monolog's MemoryUsageProcessor to that end, but I thought it would be more useful to get something a bit more ✨visual✨.
-
Having memory leaks on testing?
Maybe give https://github.com/arnaud-lb/php-memory-profiler a try. Til you actually track down the leak, you're asking someone else to go down this rabbit hole for a contrived scenario.
PHPSpy
Posts with mentions or reviews of PHPSpy.
We have used some of these posts to build our list of alternatives
and similar projects.
-
Pyroscope 0.0.31 Supports Continuous Profiling for debugging server performance issues in PHP
It's using phpspy, which does support fpm:
What are some alternatives?
When comparing php-memory-profiler and PHPSpy you can also consider the following projects:
php-spx - A simple & straight-to-the-point PHP profiling extension with its built-in web UI
hardened_malloc - Hardened allocator designed for modern systems. It has integration into Android's Bionic libc and can be used externally with musl and glibc as a dynamic library for use on other Linux-based platforms. It will gain more portability / integration over time.
PCOV - PCOV - CodeCoverage compatible driver for PHP
feh - a fast and light image viewer
Laravel-Zero - A PHP framework for console artisans
php-meminfo - PHP extension to get insight about memory usage
Rector - Instant Upgrades and Automated Refactoring of any PHP 5.3+ code
Laravel - The Laravel Framework.
Firegento - Extends the customer functionality of Magento.