Upsun Continuous Profiler is powered by Blackfire. It is available directly in the Console, under Apps and Services → your app → Profiling. The PHP continuous profiling is currently made across 4 dimensions:Documentation Index
Fetch the complete documentation index at: https://developer.upsun.com/llms.txt
Use this file to discover all available pages before exploring further.
- CPU Time: Time spent running on the CPU
- Wall-time: Elapsed time per function call
- Allocated Memory: Number of bytes allocated in memory
- Allocations: Time spent running on the CPU
Prerequisites
Upsun Continuous Profiler requiresPHP >=8.2.
Installation
The Blackfire Continuous Profiler PHP library is included by default in all PHP images matching its requirements. There is no installation required.Configuration
The PHP continuous profiler is enabled by default without configuration. Optionally, you can override the following environment variables:DD_PROFILING_ENABLED=true: forces the PHP continuous profiler activation/deactivationDD_PROFILING_LOG_LEVEL=off: controls the PHP continuous profiler log level