We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dbcabf9 commit 698d7ceCopy full SHA for 698d7ce
scripts/profiling_memory_and_time.py
@@ -23,7 +23,7 @@
23
24
profile = LineProfiler()
25
profile.add_function(parallel_tridiag_eigen)
26
-os.makedirs("Profiling_files", exist_ok=True) # to save the outputs of profiling
+os.makedirs("Profiling_files", exist_ok=True) # to save the outputs of profiling
27
28
seed = 1000
29
np.random.seed(seed)
@@ -91,7 +91,7 @@
91
mem_after_lanczos = proc.memory_info().rss / 1024 / 1024 # MB
92
delta_mem_lanczos = mem_after_lanczos - mem_before_lanczos
93
delta_t_lanczos = end_lanczos - begin_lanczos
94
- print(f'delta_t_lanczos: {delta_t_lanczos:.4f} s')
+ print(f"delta_t_lanczos: {delta_t_lanczos:.4f} s")
95
96
print("Done. Now computing eigenvalues...")
97
else:
0 commit comments