Introduces --stats-only option to only show changes in statistics.
Details
Diff Detail
Event Timeline
Looks good!
utils/analyzer/CmpRuns.py | ||
---|---|---|
45–47 | This probably won't work on Windows. | |
293–296 | Having a "total" statistic would be really useful, i think. | |
313–316 | That's probably a matter of taste but i'd appreciate "after - before" here instead of "before - after". It's confusing that a positive value indicates a decrease in time, so it makes the reader keep more flips in the head. It won't be that confusing that a positive value indicates a non-positive outcome, because that's not part of the arithmetic. Ideally, have the "ratio" split out into a variable and get it compared to 0.2 and -0.2 respectively. |
utils/analyzer/CmpRuns.py | ||
---|---|---|
45–47 | Should I remove this? |
utils/analyzer/CmpRuns.py | ||
---|---|---|
45–47 | Yeah, any approach will do :) |
Addressed the following reviews:
- Added 'total' to the statistics
- Rewrote the ratio calculation
utils/analyzer/CmpRuns.py | ||
---|---|---|
313–316 | Are you talking about how the calculation is being performed or how it's being printed on the screen? |
utils/analyzer/CmpRuns.py | ||
---|---|---|
313–316 | How it's performed, i.e. B-A vs. A-B. |
Rewrote the ratio calculation and added a comment saying that it doesn't highlight results in Windows.
This probably won't work on Windows.
Not sure if we care.