JavaScript CSS HTML Shell
#67 Compare This branch is 457 commits ahead of mozilla:master.
Failed to load latest commit information.
css Fix chooser panel backdrop. Jan 20, 2015
images Add diagnostic entry for sync IPC messages Aug 1, 2015
js Remove reference to bug 767070 diagnostics which was no longer valid May 16, 2016
samples Add qunit testing framework Jan 14, 2015
.gitmodules change perms Jun 8, 2012
.nojekyll change perms Jun 8, 2012
.travis.yml Travis should run slimerjs Jan 15, 2015 fix portability issue with find not accepting file Jan 30, 2015 Add support for slimerjs Jan 15, 2015
credit.html Add icons Jan 29, 2015 Update scripts Feb 12, 2015 Improve the download script to also beautify Feb 14, 2013
favicon.png change perms Jun 8, 2012
index.html Add a tab for tasktracer Dec 18, 2015 Update site script Dec 4, 2015 Change sample to use trivial JSON profile for webkit testing Sep 22, 2012
sample.big Add sample.big profile Oct 14, 2012
sample.log Improve test profile, fix dump errors Sep 22, 2012
test.html Add new filter test Jan 14, 2015

Build Status

Cleopatra Screenshot


Cleopatra is a webpage to visualize performance profiles. It was written to be used by the Gecko Profiler but can in theory be used by any profiler that can output to JSON. The UI runs entirely client-side except for a few profile storage and retrieval option.


Directory js: ui.js - Fetches profiles, dispatches heavy requests to parserWorker.js, display the processed data. parserWorker.js - Parses the profiles, handling filtering, searching and grouping. tree.js - Custom tree view control.


1) Open index.html. Note that some features, such as reading local profiles, will either require you to run a webserver using '' if you have python installed or setting 'security.fileuri.strict_origin_policy;false' in about:config. 2) Add ?report= to an existing profile you have upload for easy testing.


1) Install the 'Gecko Profiler Add-on' 2) Set 'profiler.url' to your local copy of index.html such as 'file:///Volumes/Guest%20OS/Users/bgirard/ben/sps/cleopatra/index.html' and 'Analyze' a profile.


1) Open index.html and load a profile from a file


1) Fork '' on github. 2) Push changes to your local fork. 3) Submit a github pull request