Skip to content

bgirard/cleopatra

This branch is 457 commits ahead of mozilla/cleopatra:master.

Folders and files

NameName
Last commit message
Last commit date
Jan 20, 2015
Aug 1, 2015
May 16, 2016
Jan 14, 2015
Jan 14, 2015
Jun 8, 2012
Jun 8, 2012
Jan 15, 2015
Jan 14, 2015
Jan 30, 2015
Jan 15, 2015
Jan 29, 2015
Feb 12, 2015
Feb 14, 2013
Jun 8, 2012
Dec 18, 2015
Dec 4, 2015
Jan 15, 2015
Sep 22, 2012
Oct 14, 2012
Sep 22, 2012
Jun 8, 2012
Jan 14, 2015

Repository files navigation

Build Status

Cleopatra Screenshot

Cleopatra

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.

Code

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.

Running

  1. Open index.html. Note that some features, such as reading local profiles, will either require you to run a webserver using 'run_webserver.sh' 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.

or

  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.

or

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

Contributing

  1. Fork 'https://github.com/bgirard/cleopatra' on github.
  2. Push changes to your local fork.
  3. Submit a github pull request

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 95.5%
  • CSS 3.1%
  • HTML 1.2%
  • Shell 0.2%