Skip to content

Arrowbox/makegrind

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

makegrind: The Makefile profiler

makegrind is a tool to analyze the output from remake to profile make-based build systems. When remake is used with --profile=json the outputs can be parsed by makegrind using the NetworkX library.

Installation

The repository is compatible with setuptools. After cloning, run pip install path/to/makegrind and the appropriate dependencies should be installed.

Usage

After installing makegrind, it can be run with makegrind --input path/to/build/directory <COMMAND> where <COMMAND> determines which report to generate. Each command provides a --help argument to display possible options.

Basic commands

  • summary: Generates a short summary with aggregated statistics
  • paths: Generates listing of dependency path taking the longest time
  • dirs: Generates statistics over each directory
  • recipes: Generates statistics on recipes taking the longest time
  • callgrind: Generates an aggregate callgrind.out.target file
  • chrome-tracing: Generates an aggregate chrome-tracing.out.targets file

Reports

Reports are yaml-formatted for easier parsing by other tools. Each report includes a few common keys.

  • key: Can be used to identify the specific type of report
  • name: An easily readable name for the report
  • date: The initial start time of the build

Disclaimer

This is not an officially supported Google product

About

No description, website, or topics provided.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages