Product Information
What is Spx?
A straightforward PHP profiling extension with a built-in web UI—NoiseByNorthwest/php-SPX—completely free and confined to your infrastructure (i.e., no data leaks to SaaS).
Extremely easy to use: simply set an environment variable (command line) or toggle a radio button (webpage) to profile your script. Thus, you're spared from:
- Manually instrumenting your code (even supports Ctrl-C for long-running CLI scripts).
- Using dedicated browser extensions or command-line launchers.
Multi-metric capability: currently supports 21 metrics (various timing metrics, memory, included files, objects in use, I/O...).
Ability to collect data without losing context. For example, Xhprof (and its potential forks) aggregate data per caller/callee pair, meaning the full call stack is lost, preventing timeline or flame graph-based analysis.
The included web UI allows you to:
- Enable/configure profiling for the current browser session
- List profiling script reports
- Select a report for in-depth analysis, featuring the following interactive visualizations:
- Timeline (scalable to millions of function calls)
- Flat profile
- Flame graph
How to use Spx?
Spx is a straightforward PHP performance profiling extension with a built-in Web UI for collecting and analyzing PHP script performance data. It’s completely free, deployed within user infrastructure, ensuring data security and no risk of leaks.
Core Functions of Spx
Waterfall Chart
Web-Based
POSIX Style
Usage Scenarios of Spx
- Profile the performance of PHP scripts.
- Analyze the performance of long-running command-line scripts.
- Dive deep into performance reports with interactive visualizations like timelines, flame graphs, and flat profiles.
- View execution time (walltime) and memory usage of PHP functions.
Common Questions about Spx
What does Spx do?
How do I use Spx?
What are the core features of Spx?
What are the application scenarios of Spx?




















