diff options
author | Lars Wirzenius <liw@liw.fi> | 2014-03-03 20:24:45 +0000 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2014-03-03 20:24:45 +0000 |
commit | abd4cc777b73a857bf55e23f6c14d83015712e30 (patch) | |
tree | 9b590b8ed12d143c8682c4c501c8cceb876babb6 | |
parent | c463c8bd575dbd1ec64ee028467e5e638e762e88 (diff) | |
download | obnam-abd4cc777b73a857bf55e23f6c14d83015712e30.tar.gz |
Use MiBs as unit for repo sizes in benchmark summary
-rwxr-xr-x | obnam-benchmark-summary | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/obnam-benchmark-summary b/obnam-benchmark-summary index 7edd3a64..b3c408c3 100755 --- a/obnam-benchmark-summary +++ b/obnam-benchmark-summary @@ -31,9 +31,9 @@ class ObnamBenchmarkSummary(cliapp.Application): columns = ( ('version', 'version'), ('ef-speed', 'EF files/s'), - ('ef-repo-size', 'EF repo (GiB)'), + ('ef-repo-size', 'EF repo (MiB)'), ('lf-speed', 'LF MiB/s'), - ('lf-repo-size', 'LF repo (GiB)'), + ('lf-repo-size', 'LF repo (MiB)'), ) def process_args(self, args): @@ -56,13 +56,13 @@ class ObnamBenchmarkSummary(cliapp.Application): 'ef-files': self.get_empty_files_count(obj), 'ef-repo-size': - self.format_size(self.get_empty_files_repo_size(obj), GiB), + self.format_size(self.get_empty_files_repo_size(obj), MiB), 'lf-speed': self.format_size(self.get_large_file_speed(obj), MiB), 'lf-size': self.format_size(self.get_large_file_size(obj), GiB), 'lf-repo-size': - self.format_size(self.get_large_file_repo_size(obj), GiB), + self.format_size(self.get_large_file_repo_size(obj), MiB), } def get_obnam_version(self, obj): |