File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -40,21 +40,21 @@ def profile_hard_mode_shared():
40
40
profile = profile_hard_mode_indepedent ()
41
41
print ("--------- Independent memory footprints ---------" )
42
42
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" )
44
44
max_independent = max (profile .values ())
45
45
mean_independent = sum (profile .values ()) / len (profile )
46
46
min_independent = min (profile .values ())
47
47
print ("\n Summary:" )
48
48
print ("| min | mean | max |" )
49
49
print ("|----------|----------|----------|" )
50
50
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 |"
52
52
)
53
53
print ("\n " )
54
54
55
55
print ("--------- Shared memory footprint ---------" )
56
56
max_usage = profile_hard_mode_shared ()
57
57
mean_shared = max_usage / len (ALL_V2_ENVIRONMENTS )
58
58
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"
60
60
)
You can’t perform that action at this time.
0 commit comments