Blackfire Profiler Explained
Blackfire Profiler is a tool that instruments PHP applications to gather data about consumed server resources like memory, CPU time, and I/O operations. Blackfire is also a SaaS service to visualize any callgrind-compatible profile.
Its architecture [1] is based on a Probe, which is a PHP extension that gathers the raw performance profiles and an Agent, which is a server-side daemon that aggregates and forwards profiles to blackfire.io servers to visualize them.
Blackfire has been used by some popular PHP projects such as ownCloud, Drupal, Symfony and Laravel to improve their performance[2] and to spot performance bottlenecks.[3] [4] [5]
Blackfire is actively developed.[6] [7]
Features
- Profile web pages,[8] command line scripts [9] and APIs and web services.[10]
- Compatible with the profiles generated with XHProf, Xdebug and Google Chrome CPU Profiler.
- Compare two profiles to spot the parts of the application which have been improved or degraded.
- Automatic aggregation of negligible internal PHP functions.
- Detection of PHP Garbage Collector cycles.
- Application performance management (APM).[11]
External links
Notes and References
- Web site: Configuration - Blackfire. Sensiolabs. blackfire.io. 2015-03-22.
- Web site: Blackfire and recent performance optimizations in ownCloud | ownCloud.org. owncloud.org. 2015-03-22.
- Web site: Make the InstallKernel progressively build the container instead of building, compiling and dumping from scratch on every module install (38x) [#2396939] | Drupal.org. drupal.org. 2015-03-22.
- Web site: [DomCrawler] Improve namespace discovery performance by jakzal · Pull Request #14012 · symfony/symfony · GitHub. github.com. 2015-03-22.
- Web site: Researching Laravel 5 Framework. github.com. 2015-04-10.
- Web site: Blackfire Blog. Blackfire.io. blog.blackfire.io. 2015-03-22.
- Web site: Blackfire · GitHub. github.com. 2015-03-22.
- Web site: Profiling Web Pages - Blackfire. Sensiolabs. blackfire.io. 2015-03-22.
- Web site: Profiling CLI Scripts - Blackfire. Sensiolabs. blackfire.io. 2015-03-22.
- Web site: Profile an API/Web Service Call - Blackfire. Sensiolabs. blackfire.io. 2015-03-22.
- Web site: Application Performance Monitoring. Sensiolabs. blackfire.io. 2021-05-05.