How to install xhprof in CentOS/RHEL 10 (noarch)

A Hierarchical Profiler for PHP - Web interface

License: Apache-2.0 Vendor: GetPageSpeed LLC https://github.com/longxinH/xhprof

Install

sudo dnf -y install https://extras.getpagespeed.com/release-latest.rpm
sudo dnf -y install xhprof

Description

XHProf is a function-level hierarchical profiler for PHP and has a simple HTML based navigational interface. The raw data collection component, implemented in C (as a PHP extension, provided by the "php-pecl-xhprof" package). The reporting/UI layer is all in PHP. It is capable of reporting function-level inclusive and exclusive wall times, memory usage, CPU times and number of calls for each function. Additionally, it supports ability to compare two runs (hierarchical DIFF reports), or aggregate results from multiple runs. Documentation: %{pecl_docdir}/xhprof/xhprof_html/docs/index.html

Compatibility

This package is compatible with all RHEL-based distributions, including CentOS, AlmaLinux, Oracle Linux, Rocky Linux, etc.

RPMs

Package Size Built Changes
xhprof-2.3.10-1.1.el10.gps.noarch 807 KiB 2026-11-09 GetPageSpeed
- Built for GetPageSpeed repositories

Subscribe