Skip to content
Snippets Groups Projects
Commit 3d2103cc authored by Florian Fischer's avatar Florian Fischer
Browse files

fix mysql footprint again

parent cf9ba4a7
Branches
No related tags found
No related merge requests found
...@@ -221,8 +221,8 @@ class Benchmark_MYSQL( Benchmark ): ...@@ -221,8 +221,8 @@ class Benchmark_MYSQL( Benchmark ):
vsz_growth = [] vsz_growth = []
rss_growth = [] rss_growth = []
for m in measures: for m in measures:
vsz_growth.append(m["VSZ_start"] - m["VSZ_end"]) vsz_growth.append(int(m["VSZ_end"]) - int(m["VSZ_start"]))
rss_growth.append(m["RSS_start"] - m["RSS_end"]) rss_growth.append(int(m["RSS_end"]) - int(m["RSS_start"]))
print(target, "memory footprint:") print(target, "memory footprint:")
print("\t avg vsz growth:", np.mean(vsz_growth)) print("\t avg vsz growth:", np.mean(vsz_growth))
print("\t avg rss growth:", np.mean(rss_growth)) print("\t avg rss growth:", np.mean(rss_growth))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment