badoo / liveprof-ui
An aggregator and web interface for Live Profiler
Installs: 57
Dependents: 0
Suggesters: 0
Security: 0
Stars: 126
Watchers: 8
Forks: 19
Open Issues: 2
Requires
- php: >=7.0
- ext-json: *
- ext-zlib: *
- doctrine/dbal: ~2.0
- psr/log: ~1.0
- symfony/config: ~3.0|~4.0
- symfony/console: ~3.0|~4.0
- symfony/dependency-injection: ~3.0|~4.0
- symfony/yaml: ~3.0|~4.0
Requires (Dev)
- phpstan/phpstan: ~0.12.88
- phpunit/phpunit: ~9.5.4
- vimeo/psalm: ~4.7.2
- dev-master
- 1.2.19
- 1.2.18
- 1.2.17
- 1.2.16
- 1.2.15
- 1.2.14
- 1.2.13
- 1.2.12
- 1.2.11
- 1.2.10
- 1.2.9
- 1.2.8
- 1.2.7
- 1.2.6
- 1.2.5
- 1.2.4
- 1.2.3
- 1.2.1
- 1.1.30
- 1.1.29
- 1.1.28
- 1.1.27
- 1.1.26
- 1.1.25
- 1.1.24
- 1.1.23
- 1.1.22
- 1.1.21
- 1.1.20
- 1.1.19
- 1.1.18
- 1.1.17
- 1.1.16
- 1.1.15
- 1.1.14
- 1.1.13
- 1.1.12
- 1.1.11
- 1.1.10
- 1.1.9
- 1.1.8
- 1.1.7
- 1.1.6
- 1.1.5
- 1.1.4
- 1.1.3
- 1.1.2
- 1.1.1
- 1.1.0
- 1.0.10
- 1.0.9
- 1.0.8
- 1.0.7
- 1.0.6
- 1.0.5
- 1.0.4
- 1.0.3
- 1.0.2
- 1.0.1
- 1.0.0
- dev-remediate_cves
This package is auto-updated.
Last update: 2024-12-05 11:18:41 UTC
README
Live profiler is a system-wide performance monitoring system in use at Badoo that is built on top of XHProf or its forks (Uprofiler or Tideways). Live Profiler continually gathers function-level profiler data from production tier by running a sample of page requests under XHProf.
Live profiler UI aggregates the profile data corresponding to individual requests by various dimensions such a time, memory usage, and can help answer a variety of questions such as: What is the function-level profile for a specific page? How expensive is function "foo" across all pages, or on a specific page? What functions regressed most in the last day/week/month? What is the historical trend for execution time of a page/function? and so on.
You can find the full documentation in Live Profiler UI wiki
Here is a plugin for PhpStorm to see the method performance directly in IDE.
System Requirements
- PHP version 7.3 or later to use web interface and run aggregation scripts.
- PHP version 5.4 or later / hhvm version 3.25.0 or later to collect profiles using Live Profiler
- Connection to database with profiling result. You can collect profiles using Live Profiler tool
- Database extension (mysqli, pgsql, sqlite support included)
- Perl for flame graph functionality
Key features
- Get stats of average value, minimum, maximum, 95 percentile of execution time, cpu time, memory usage and calls count. Parameter list and statistics functions are configurable.
- Graphs for every collected parameter and every method up to 6 months. Each graph also includes children stats. It helps to see the history of changes.
- Differences interface to compare a particular request for two dates and see what became worse.
- See flame graph of the aggregated request.
- Get list of requests where a method was called last time. It may be helpful for refactoring purposes and find unused methods.
- Get the most changed methods in any requests for two dates, for example, today and a week ago. It can help to find a place of a potential performance problem.
Installation guide
Work flow
Live Profiler has 3 main parts:
Performance investigation guide
Customisation
Troubleshooting
License
This project is licensed under the MIT open source license.