https://github.com/mozilla/cleopatra
INACTIVE - http://mzl.la/ghe-archive - UI for the gecko profiler
https://github.com/mozilla/cleopatra
inactive unmaintained
Last synced: 4 months ago
JSON representation
INACTIVE - http://mzl.la/ghe-archive - UI for the gecko profiler
- Host: GitHub
- URL: https://github.com/mozilla/cleopatra
- Owner: mozilla
- Archived: true
- Created: 2011-09-03T00:18:12.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2019-03-29T04:45:06.000Z (about 6 years ago)
- Last Synced: 2024-09-20T02:27:46.567Z (8 months ago)
- Topics: inactive, unmaintained
- Language: JavaScript
- Homepage: https://developer.mozilla.org/en/Performance/Profiling_with_the_Built-in_Profiler
- Size: 2.18 MB
- Stars: 27
- Watchers: 3
- Forks: 39
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
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