Skip to main content

Build profiling tools and UI

Project description

Introduction

buildprof is a tool that can generate and view build profiles. It parses the output of the standard command ‘top -b’, and the statistics files generated by ccache > 3.0.

It generates a chart with the cpu, memory usage and ccache hit/miss rate over time.

By passing the mouse cursor over the graph, you can see the process that were running at that time on the machine, and see what’s going on when the cpu is not 100% utilised.

Installation

buildprof uses the standard python library and has no other dependancies. It embeds an angularjs + nvd3 html5 application, to view the results.

sudo pip install buildprof

Usage

buildprof make -j4

This will run your make -j4, and then open a browser with the results. The results are stored in a file named <hostname>.html`, you can customize it via ``--output_file

buildprof `hostname`.html

Use this to open a previously created file.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

buildprof-0.1.7.tar.gz (420.9 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page