mozilla / cleopatra Goto Github PK
View Code? Open in Web Editor NEWINACTIVE - http://mzl.la/ghe-archive - UI for the gecko profiler
Home Page: https://developer.mozilla.org/en/Performance/Profiling_with_the_Built-in_Profiler
INACTIVE - http://mzl.la/ghe-archive - UI for the gecko profiler
Home Page: https://developer.mozilla.org/en/Performance/Profiling_with_the_Built-in_Profiler
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=<id> 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
It would be really nice to be able to get the timestamp of the sample under the mouse cursor (when it shows the vertical bar).
This would allow correlation with output from logcat
After uploading my profile I'm getting the following error:
Error in worker: Exception: TypeError: types is undefined (https://people.mozilla.org/~bgirard/cleopatra/js/parserWorker.js:1002)
Can provide profile if necessary.
As of January 1 2019, Mozilla requires that all GitHub projects include this CODE_OF_CONDUCT.md file in the project root. The file has two parts:
If you have any questions about this file, or Code of Conduct policies and procedures, please reach out to [email protected].
(Message COC001)
Sample: http://people.mozilla.com/~bgirard/systrace.html (webkit only)
Hey,
I don't know who is admin here nowadays :) but it would be a good idea to archive the project and adding a link to https://github.com/firefox-devtools/profiler (suggested by @padenot).
Giving admin rights to the folks of firefox-devtools/profiler (that's @mstange @gregtatum and myself) would work too, then we can do this work ourselves if you prefer :)
Thanks!
Partners use console.timeStamp()
to mark actions and loading state for regression testing and profiling. We looked at DevTools Profiler and Cleopatra but only found it in the Profiler. Should it show up in Cleopatra as well?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.