XHProf Viewer

XHProf Viewer helps PHP developers inspect profiling runs, identify hot paths, and compare performance across builds without requiring local tooling.

Tool coming soon!

We're working hard to get this tool ready for you.

Request Feature / Support
752+
Total Calculations Run
< 15ms
Browser Execution Speed
100%
Client-Side Privacy
4.9 / 5.0
User Satisfaction
AI Web Tool Generator

Build Your Own Custom Web Calculator in Seconds

Type what tool or calculator you need below. Our AI will build it instantly for your site.

Popular ideas:
100% FREE • No Credit Card Required

About This Tool

XHProf Viewer ingests profiling data produced by XHProf and related PHP profilers. It focuses on enabling rapid exploration of function-level costs, including inclusive vs exclusive times, call counts, and CPU usage. The tool targets developers, performance engineers, and QA teams who profile PHP applications to locate bottlenecks.
Conceptual workflow: load serialized profiling data or a snapshot export, the viewer parses the data into a call graph, resolves function identifiers, and computes aggregate metrics. It supports filtering by time window, function name, and call path, and computes inclusive times by propagating child costs to parents.
Unique value: it consolidates profiling data into a consistent dataset, enabling comparisons across runs, highlighting regressions, and informing optimization decisions. Core features include function-level summaries, a sortable top-n report, and an adjacency view of caller-callee relationships, all without requiring local tooling.
Use cases: performance regression testing, code hot-path optimization, memory and CPU budgeting, and pre-release profiling. Outputs include metrics suitable for dashboards or automation, and the tool can export JSON/CSV. It is designed for teams adopting PHP performance practices.

How to Use

  1. Provide inputs
  2. Configure scope (run_id, filters)
  3. Run analysis
  4. Review outputs (top functions, times, and call graph)
  5. Optional: export results as JSON or CSV
How to use xhprof viewer online

Frequently Asked Questions

Find Quick Answers

What data formats are supported?
The viewer accepts XHProf serialized runs and JSON exports; both contain function blocks, call counts, and time metrics. If provided as serialized PHP data, the tool parses using PHP-compatible unserialization rules.
Can I compare multiple runs?
Yes. You can select more than one run; the tool aligns function names and computes delta metrics, highlighting regressions or improvements in inclusive and exclusive times, identifying hot paths that change across builds.
How are times calculated?
Times use the wt (wall time) and cpu measures stored per function. Inclusive_time attributes the parent's time to its callee costs, while exclusive_time reflects the function's own cost only. Percentages are relative to total profiling time.
Data privacy and hosting?
Data remains under user control when run locally or in self-hosted mode; the web-based viewer processes data client-side if possible. If uploading to a server, ensure data policy compliance and avoid sensitive production data.

Need to run multiple calculations?

Create a free account today to unlock unlimited daily runs, access advanced parameters, save your history, and request custom features.

Register Free Account

Related Tools

Other useful calculators and utilities you might like

Developer Tools

Spotify to MP3 Converter

Convert Spotify tracks and playlists to MP3 format instantly with our free online converter.

Developer Tools

Road Distance Calculator

Calculate the driving distance and travel time between two addresses with our free online road dista...

Developer Tools

Age Calculator

Calculate your exact age in years, months, and days from any birth date to any target date.

Developer Tools

Currency Converter

Convert currencies instantly with real-time exchange rates and historical data support.

Your Feedback Matters

Help Us to Improve