1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 19:52:54 +01:00
llvm-mirror/utils/opt-viewer
Brian Gesiak d8907bc8d5 [opt-viewer] Add progress indicators (PR33522)
Summary:
Provide feedback to users of opt-diff.py, opt-stats.py, and opt-viewer.py,
on how many YAML files have finished being processed, and how many HTML
files have been generated. This feedback is particularly helpful for
opt-viewer.py, which may take a long time to complete when given many
large YAML files as input.

The progress indicators use simple output such as the following:

```
Reading YAML files...
    9 of 1197
```

Test plan:
Run `utils/opt-viewer/opt-*.py` on a CentOS and macOS machine, using
Python 3.4 and Python 2.7 respectively, and ensure the output is
formatted well on both.

Reviewers: anemet, davidxl

Reviewed By: anemet

Subscribers: simon.f.whittaker, llvm-commits

Differential Revision: https://reviews.llvm.org/D34735

llvm-svn: 306726
2017-06-29 18:56:25 +00:00
..
opt-diff.py [opt-viewer] Add progress indicators (PR33522) 2017-06-29 18:56:25 +00:00
opt-stats.py [opt-viewer] Add progress indicators (PR33522) 2017-06-29 18:56:25 +00:00
opt-viewer.py [opt-viewer] Add progress indicators (PR33522) 2017-06-29 18:56:25 +00:00
optpmap.py [opt-viewer] Add progress indicators (PR33522) 2017-06-29 18:56:25 +00:00
optrecord.py [opt-viewer] Add progress indicators (PR33522) 2017-06-29 18:56:25 +00:00
style.css [opt-viewer] Alternating row background colors on index page 2017-02-02 05:49:00 +00:00