Skip to content

bolind/make-profiler

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Makefile Profiler

Helps managing a large data processing pipeline written in Makefile.

Features

build graph example

  • Critical Path is highlighted;

  • Inline pictures-targets into build overview;

  • Logs for each target marked with timestamps;

  • Distinguish a failed target execution from forgotten touch;

  • Navigate to last run's logs from each target directly from call graph;

  • Support for self-documented Makefiles according to http://marmelab.com/blog/2016/02/29/auto-documented-makefile.html

Example usage

pip install https://github.com/gojuno/make-profiler/archive/master.zip

cd your_project
profile_make -h                 # have a look at help

profile_make                    # generate overview graph without profiling data
xdg-open make.svg               # have a look at call graph

profile_make_clean target_to_remove_with_children

profile_make -j -k target_name  # run some target, record execution times and logs
xdg-open make.svg               # have a look at call graph with timing data

About

Makefile profiling toolset

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 91.5%
  • Makefile 8.5%