diff options
Diffstat (limited to 'seivots-summary')
-rwxr-xr-x | seivots-summary | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/seivots-summary b/seivots-summary index ed0a404..7eca1ff 100755 --- a/seivots-summary +++ b/seivots-summary @@ -53,11 +53,11 @@ class Table(object): widths = self.compute_column_widths(cells) - f.write('%s\n' % self.format_headings(widths, 0)) - f.write('%s\n' % self.format_headings(widths, 1)) + f.write(' %s\n' % self.format_headings(widths, 0)) + f.write(' %s\n' % self.format_headings(widths, 1)) f.write('\n') for row in self.rows: - f.write('%s\n' % self.format_row(row, widths)) + f.write(' %s\n' % self.format_row(row, widths)) def align_cell(self, width, text, column): h1, h2, fmt, left = self.columns[column] @@ -101,7 +101,9 @@ class SeivotsSummary(cliapp.Application): for group, caption in self.find_groups(seivots): title = 'Profile: %s' % caption self.output.write('%s\n%s\n\n' % (title, '-' * len(title))) - for op in ['backup', 'restore', 'list_files', 'forget']: + ops = ['backup', 'restore', 'list_files', 'forget', 'fsck', + 'verify'] + for op in ops: self.output.write('Operation: %s\n\n' % op) table = self.make_table(group, op) table.write_plaintext(self.output) @@ -142,6 +144,12 @@ class SeivotsSummary(cliapp.Application): 'forget': ('gen0-time', 'gen0-ram', 'slowest-time', 'biggest-ram', 'repo-writes', 'repo-reads'), + 'fsck': + ('gen0-time', 'gen0-ram', 'slowest-time', 'biggest-ram', + 'repo-writes', 'repo-reads'), + 'verify': + ('gen0-time', 'gen0-speed', 'gen0-ram', 'slowest-time', + 'slowest-speed', 'biggest-ram','repo-writes', 'repo-reads'), } suffix = ('branch', 'description') colnames = prefix + which[op] + suffix |