"Profiler for buildbot master and its UI"
Project description
This plugin implements a profiler for buildbot master.
It uses statistical profiling loosely based on plop https://github.com/bdarnell/plop
Suitable for prod as statistical profiling is very low overhead
Profiles all threads including main thread and db threads
Removes noise samples when the threads are actually in the main loop
In-browser UI based on nvd3 and d3-flame-graph
Show cpu and memory percent over time
flame graph can be restricted to a subset of the trace
Detailed caller/callee are displayed when clicking on a function
Usage
installation:
pip install buildbot_profiler
then in master.cfg:
c['www']['plugins']['profiler'] = True
Standalone Viewer
A standalone viewer is provided for offline browse of user submitted profiles.
bbprofiler
Then you can open your browser on http://localhost:8080
Screenshot
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Hashes for buildbot_profiler-1.0.0-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b3ad75b6905a47a8fe1c228a712e655de03b15bb908710e20f6491f3e405fe59 |
|
MD5 | 3d0300af7f787622f58d9eb459fc23e1 |
|
BLAKE2b-256 | 7217090c2acbfe7a5976d45b83e3b6286a457db8b1b04eaa8d97b9bff019c28b |