From 4c436b40f9e3a8bce02f36275b0320f783a52aea Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Mon, 6 Aug 2018 18:23:53 +0200 Subject: fix mysql memory stats collecting again :( --- mysql.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mysql.py b/mysql.py index 143e9d0..c6d1ddb 100644 --- a/mysql.py +++ b/mysql.py @@ -223,7 +223,7 @@ class Benchmark_MYSQL( Benchmark ): for target, measures in self.results["memusage"].items(): heap_growth = [] for m in measures: - rss_growth.append(int(m["heap_end"]) - int(m["heap_start"])) + heap_growth.append(int(m["heap_end"]) - int(m["heap_start"])) print(target, "memory footprint:") print("\t avg heap growth:", np.mean(heap_growth)) -- cgit v1.2.3