# perftools/xhgui

Web interface for XHProf profiling data can store data in MongoDB or PDO database

Repository: https://github.com/perftools/xhgui
Canonical: https://ross.abutalabs.com/products/xhgui
Language: JavaScript
License Family: other
Topics: mongodb, profiler, php, xhprof, ext-pdo, ext-mongodb, profiling-data, xhgui
Last push: 2026-08-03T15:02:15+00:00

## Health v2 (maintenance only)
Score: 77/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 95, release rhythm 40, longevity 100
- inputs: {"age_days": 5019, "days_push": 30, "days_rel": 422, "gap_med": 0, "n_releases_24m": 8}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1687, forks 342 (observed 2026-08-28T04:05:22.211238+00:00)

## What it is
XHGui is a self-hosted web application that provides a graphical interface for viewing and analyzing XHProf profiling data collected from PHP applications. It stores profiling results in MongoDB or any PDO-supported database (MySQL, PostgreSQL, SQLite) and offers a convenient GUI for browsing and comparing performance runs.

## Use cases
- visualize xhprof profiling data for a php application
- find slow functions in php web requests
- store and compare php profiler runs over time
- profile php cli scripts and view results in a gui
- choose between mongodb or mysql/postgres/sqlite storage for profiling data
- diagnose performance regressions in a php codebase

## When to choose
- you profile PHP applications with XHProf or perftools/php-profiler and need a UI to inspect results
- you want a self-hosted profiling dashboard with MongoDB or PDO-backed storage
- you need to compare profiling runs across releases to catch regressions

## When to avoid
- you need profiling of non-PHP languages
- you want a full APM solution with alerting and distributed tracing rather than a profiling data viewer
- you cannot run a separate web application or database for profiling data

## Facets
- artifact type: application
- maturity: active
- function: monitoring, tracing, benchmarking, gui, http-server
- domain: developer-tools, performance, monitoring, web-development, databases
- platform: php, self-hosted, cross-platform
- tags: xhprof, profiling-data, mongodb, pdo, php-profiler, performance-analysis, web-server

## Member repositories
- perftools/xhgui (main) score 77

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:22.211238+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:38:52.448347+00:00, confidence not recorded.
  - readme: https://github.com/perftools/xhgui (fetched 2026-08-28T04:05:22.211238+00:00, sha 7c668fc51435)
- Data as of 2026-08-30T08:39:29.467469+00:00.
