Display job times in a bar chart.
protovis-r3.2.json the web server with the HTML output)
target_durations.py [ --help ] [ -u URL ] [ -o OUTPUT ] [ -t TEMPLATE ] filename.xml
Target Durations Report: writing output to blexample_target_durations.html
The following variations produce different style graphs and are included in the download package. They have the same requirements as target_durations.py.
The logic for the report is defined in function
DurationsReport.run(). The report iterates over all leaf targets
in the build, that is those targets that do not have a child makelog element.
A list of target elements is built up where each element is a dictionary
containing values needed for the report. The list is sorted in decreasing
order of job duration, and converted to JSON format for inclusion in the
template placeholders are expanded from values computed from the build log,
and the expanded report is output.