[scripts] add script to diff complexity logs
- Related issues: N/A
- Requested reviewers:
This MR adds a script to diff logs produced by the WMC tool at scripts/diff_complexity.py
:
usage: diff_complexity.py [-h] [-o OUTFILE] [-q] [-v] bsl cut
WMC TOOL instrumented log file parser
positional arguments:
bsl input logfile for baseline condition
cut input logfile for condition under test
options:
-h, --help show this help message and exit
-o OUTFILE, --outfile OUTFILE
output csv table
-q, --quiet no console output
-v, --verbose print detailed info about routines
Features:
- Can output a .csv file with the difference tables with
-o/--outfile
- Shows a routine-level breakdown with the
-v/--verbose
flag - Quiet mode for scripts
- Colours!
Verbose mode with identical routines: