diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2019-06-14 08:31:43 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2019-06-18 09:51:39 -0700 |
| commit | 831ddf700d91b50ac8e3beffe35d7ee5f5dd5218 (patch) | |
| tree | 1d128078fbcc89c96c3007b0f0e3bc70b3ffa5e6 /src/ci/cpu-usage-over-time.py | |
| parent | e699ea096fcc2fc9ce8e8bcf884e11496a31cc9f (diff) | |
| download | rust-831ddf700d91b50ac8e3beffe35d7ee5f5dd5218.tar.gz rust-831ddf700d91b50ac8e3beffe35d7ee5f5dd5218.zip | |
ci: Add a script for generating CPU usage graphs
This commit checks in a script which generates CPU usage graphs over time, expanding on the previous comment that was include in the collection file.
Diffstat (limited to 'src/ci/cpu-usage-over-time.py')
| -rw-r--r-- | src/ci/cpu-usage-over-time.py | 19 |
1 files changed, 2 insertions, 17 deletions
diff --git a/src/ci/cpu-usage-over-time.py b/src/ci/cpu-usage-over-time.py index 78427a6360a..daf21670b33 100644 --- a/src/ci/cpu-usage-over-time.py +++ b/src/ci/cpu-usage-over-time.py @@ -30,23 +30,8 @@ # the second column is always zero. # # Once you've downloaded a file there's various ways to plot it and visualize -# it. For command line usage you can use a script like so: -# -# set timefmt '%Y-%m-%dT%H:%M:%S' -# set xdata time -# set ylabel "Idle CPU %" -# set xlabel "Time" -# set datafile sep ',' -# set term png -# set output "printme.png" -# set grid -# builder = "i686-apple" -# plot "cpu-".builder.".csv" using 1:2 with lines title builder -# -# Executed as `gnuplot < ./foo.plot` it will generate a graph called -# `printme.png` which you can then open up. If you know how to improve this -# script or the viewing process that would be much appreciated :) (or even if -# you know how to automate it!) +# it. For command line usage you use the `src/etc/cpu-usage-over-time-plot.sh` +# script in this repository. import datetime import sys |
