From 3d2103cc95bb1b01dfcb4bbe524e6715b3d4686f Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Mon, 23 Jul 2018 19:13:41 +0200 Subject: fix mysql footprint again --- mysql.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mysql.py') diff --git a/mysql.py b/mysql.py index 1300465..773a20c 100644 --- a/mysql.py +++ b/mysql.py @@ -221,8 +221,8 @@ class Benchmark_MYSQL( Benchmark ): vsz_growth = [] rss_growth = [] for m in measures: - vsz_growth.append(m["VSZ_start"] - m["VSZ_end"]) - rss_growth.append(m["RSS_start"] - m["RSS_end"]) + vsz_growth.append(int(m["VSZ_end"]) - int(m["VSZ_start"])) + rss_growth.append(int(m["RSS_end"]) - int(m["RSS_start"])) print(target, "memory footprint:") print("\t avg vsz growth:", np.mean(vsz_growth)) print("\t avg rss growth:", np.mean(rss_growth)) -- cgit v1.2.3