Skip to main content
Performance Profiler

Find what makes your PHP app slow

You know something is slow, but not what. Buggregator collects XHProf profiling data and shows it as flame graphs, call graphs, and function tables. See exactly where time is spent \u2014 wall time, CPU time, memory \u2014 in every request.

Get started Free Blackfire alternative
127.0.0.1:8000
Screenshot: Buggregator call graph showing PHP function execution times

Call graph with function-level wall time, CPU time, and memory usage

See where the time goes

Width is time: the wider a bar, the longer that call took, including the calls under it.

264 ms ยท 33 calls

Arrow keys move between calls: left and right for siblings, up for the caller, down for the first callee. Enter zooms into a call, Escape resets the zoom.

Example data: a billing ChargeController request, 264 ms. In Buggregator you can also switch to CPU, memory or memory peak, and search for a function by name.

Understand your application's performance

Multiple ways to visualize profiling data. Find the bottleneck that matters.

๐Ÿ”ฅ

Flame graphs

Interactive flame graph visualization. Zoom into call stacks, identify hot paths at a glance.

๐ŸŒณ

Call graphs

Tree visualization of function calls with color-coded execution time. See which branches are slow.

๐Ÿ“Š

Top functions

Sortable table of all functions by wall time, CPU time, memory, and call count.

๐Ÿ”

Profile comparison

Compare two profiles side by side to spot regressions. See exactly what got slower and by how much.

โฑ๏ธ

Wall time & CPU time

Distinguish between time waiting (I/O, DB) and time computing. Find the real bottleneck.

๐Ÿง 

Memory tracking

See memory allocation per function. Find memory-hungry code before it causes problems.

Setup in 60 seconds

No registration. No account. Start it and point your app at it.

1

Start Buggregator

The profiler endpoint runs on the same port 8000 as everything else. One file, about 40 MB, installed with one command. Prefer containers? Use the Docker tab.

$ curl -fsSL https://raw.githubusercontent.com/buggregator/server/master/scripts/install.sh | sh
$ HTTP_ADDR=127.0.0.1:8000 \
  SMTP_ADDR=127.0.0.1:1025 \
  VAR_DUMPER_ADDR=127.0.0.1:9912 \
  MONOLOG_ADDR=127.0.0.1:9913 \
  PROXY_ADDR=127.0.0.1:8080 \
  ~/.local/bin/buggregator

The script picks the file for your CPU: Intel/AMD or ARM.

One file for Linux, macOS and Windows, about 40 MB. Nothing else to install.

This run line keeps it on this computer. Without the *_ADDR settings it listens on all network interfaces โ†’

Rather not run a script? Download the file yourself โ†’

Runs on Windows, macOS and Linux, on Intel/AMD and ARM.

Prefer not to do it yourself? Your AI agent can set Buggregator up for you โ†’

2

Install the XHProf extension and profiler package

Install the XHProf PHP extension, then add the profiler package for your framework.

# Install XHProf extension
$ pecl install xhprof

# Install the Laravel profiler package
$ composer require --dev maantje/xhprof-buggregator-laravel

# .env
PROFILER_ENDPOINT=http://profiler@127.0.0.1:8000
3

Load a page โ€” see the profile

Make a request to your application. The profile data is automatically sent to Buggregator where you can explore it as a flame graph, call graph, or sorted function table.

Works with PHP frameworks

XHProf is a PHP extension. Buggregator provides profiler packages for popular frameworks.

Laravelโ€” via maantje/xhprof-buggregator-laravel
Symfonyโ€” via buggregator-profiler-bundle
Spiralโ€” via spiral/profiler
Any PHP projectโ€” via raw XHProf API + WebStorage

Ready to try it?

One command to start. No account needed.