Skip to content

Commit 304d79d

Browse files
fixing master ci (#528)
1 parent ab55a01 commit 304d79d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

scripts/profile_memory_usage.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -40,21 +40,21 @@ def profile_hard_mode_shared():
4040
profile = profile_hard_mode_indepedent()
4141
print("--------- Independent memory footprints ---------")
4242
for cls, u in profile.items():
43-
print(f"{cls.__name__:<40} {u:>5.1f} MB")
43+
print(f"{cls.__name__ : <40} {u : >5.1f} MB")
4444
max_independent = max(profile.values())
4545
mean_independent = sum(profile.values()) / len(profile)
4646
min_independent = min(profile.values())
4747
print("\nSummary:")
4848
print("| min | mean | max |")
4949
print("|----------|----------|----------|")
5050
print(
51-
f"| {min_independent:.1f} MB | {mean_independent:.1f} MB | {max_independent:.1f} MB |"
51+
f"| {min_independent : .1f} MB | {mean_independent : .1f} MB | {max_independent : .1f} MB |"
5252
)
5353
print("\n")
5454

5555
print("--------- Shared memory footprint ---------")
5656
max_usage = profile_hard_mode_shared()
5757
mean_shared = max_usage / len(ALL_V2_ENVIRONMENTS)
5858
print(
59-
f"Mean memory footprint (n = {len(ALL_V2_ENVIRONMENTS)}): {mean_shared:.1f} MB"
59+
f"Mean memory footprint (n = {len(ALL_V2_ENVIRONMENTS)}): {mean_shared : .1f} MB"
6060
)

0 commit comments

Comments
 (0)