tardyp / buildbot_profiler

GNU General Public License v2.0
4 stars 2 forks source link

This plugin implements a profiler for buildbot master.

Usage

installation:

.. code:: bash

pip install buildbot_profiler

then in master.cfg:

.. code:: python

c['www']['plugins']['profiler'] = True

Alternatively, you can install it in service mode, without the UI

.. code:: python

c['services'] = [util.ProfilerService()]

ProfilerService takes following arguments:

.. code:: python

ProfilerService(frequency=100, gatherperiod=30 * 60, mode='virtual', basepath=None, wantBuilds=100)

Standalone Viewer

A standalone viewer is provided for offline browse of user submitted profiles.

.. code:: bash

bbprofiler

Then you can open your browser on http://localhost:8080

Screenshot

.. image:: https://raw.githubusercontent.com/tardyp/buildbot_profiler/master/screenshot.png

ChangeLog