TestRunner: Added --chart to display a chart of performance tests
This uses the Chart.js javascript library. Everything is put into a standalone .html file and opened with the default browser. I also simplified the text output to use the same data as the chart. You can now use a commit range with git's ".." syntax. The --ci option will use results from CI (you'll need to fetch them first): $ git fetch https://gitlab.haskell.org/ghc/ghc-performance-notes.git refs/notes/perf:refs/notes/ci/perf $ python3 testsuite/driver/perf_notes.py --ci --chart --test-env x86_64-darwin --test-name T9630 master~500..master
Showing
- testsuite/driver/js/Chart-2.8.0.min.js 7 additions, 0 deletionstestsuite/driver/js/Chart-2.8.0.min.js
- testsuite/driver/js/tooltip.js 108 additions, 0 deletionstestsuite/driver/js/tooltip.js
- testsuite/driver/perf_notes.py 234 additions, 120 deletionstestsuite/driver/perf_notes.py
- testsuite/driver/testlib.py 1 addition, 4 deletionstestsuite/driver/testlib.py
- testsuite/driver/testutil.py 4 additions, 0 deletionstestsuite/driver/testutil.py
Loading
Please register or sign in to comment