GUI utility that allows you to view and explore profiles dump. Perfect client for forp PHP profiler.
JavaScript CSS PHP
Latest commit 4b10ae1 Nov 13, 2013 root Fix forp declaration, IIFE
Failed to load latest commit information.
samples Some fix after jMicro update Nov 11, 2013
src Fix forp declaration, IIFE Nov 12, 2013
.gitmodules jmicro submodule Oct 27, 2013


forp-ui is a GUI utility that allows you to view and explore profiles dump.

It is very easy to integrate forp-ui into an HTML page, it is written in JavaScript.

Basic features

  • search engine
  • tree representation of the stack
  • top 20 duration
  • top 20 memory
  • top 20 calls
  • grouping of functions
  • metrics and quality grades
  • "called from" view
  • "backtrace" view
  • inspector

Integration into an HTML page and example

Download the minified version from the release branch of forp-ui on Github. Put it in the js directory of your project, then run forp-ui as in the example below.

<script src="src/built/forp.min.js"></script>
(function($) {
        stack :
            "utime" : 0,
            "stime" : 0,
            "stack" :
        mode : "fixed"


Use src/build.php to build src/built/forp.min.js file.

$ cd src
$ php build.php


--skin name : gstyle, consolas (default)

Communication with forp PHP profiler

forp-ui is the perfect tool to treat the forp PHP profiles dump ( forp extension gives us PHP profiling datas, forp-ui helps you to refine it clientside.

Screenshots (example : Yii PHP framework)

tree representation of the stack


top 20 duration


Click on a stack entry displays backtrace in sidebar :

duration details

top 20 memory


top 20 Calls


grouping of functions

This is the result of forp @ProfileGroup annotation.


Click on a group entry displays "called from" block :

groups details

search engine


metrics and quality grades


Samples are in the "samples" directory :

  • "free" : simple example free of programming language.
  • php : simple example of PHP profiling with forp PHP profiler.