diff --git a/bench/app.py b/bench/app.py index 0c2eea90e..e99eca95c 100755 --- a/bench/app.py +++ b/bench/app.py @@ -421,7 +421,7 @@ def set_cache(self, compress_artifacts=False) -> bool: cache_path.rename(hashed_path) click.secho( - f"Bench app-cache: caching succeeded for {self.app_name} into {hashed_path.as_posix()}", + f"Bench app-cache: caching succeeded for {self.app_name} as {hashed_path.as_posix()}", fg="green", ) diff --git a/bench/utils/bench.py b/bench/utils/bench.py index 9eba296a7..acc0247f0 100644 --- a/bench/utils/bench.py +++ b/bench/utils/bench.py @@ -688,7 +688,7 @@ def cache_list() -> None: created = datetime.fromtimestamp(stat.st_ctime) accessed = datetime.fromtimestamp(stat.st_atime) - app = item.name.split("-")[0] + app = item.name.split(".")[0] tot_items += 1 tot_size += stat.st_size compressed = item.suffix == ".tgz" @@ -696,7 +696,7 @@ def cache_list() -> None: if not printed_header: click.echo( f"{'APP':15} " - f"{'FILE':25} " + f"{'FILE':90} " f"{'SIZE':>13} " f"{'COMPRESSED'} " f"{'CREATED':19} " @@ -706,7 +706,7 @@ def cache_list() -> None: click.echo( f"{app:15} " - f"{item.name:25} " + f"{item.name:90} " f"{size_mb:10.3f} MB " f"{str(compressed):10} " f"{created:%Y-%m-%d %H:%M:%S} "