From 92f9e30dc210f45880b61d5c6472e631166fa883 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Fri, 14 Sep 2018 18:01:55 +0200 Subject: add usefull chattymalloc support and --nolibmemusage flag improve bench.py improve process_stdout hook -> process_output rename perf_cmd -> measure_cmd --- chattyparser.py | 144 ++++++++++++++++++++++++++++++++++++++------------------ 1 file changed, 98 insertions(+), 46 deletions(-) (limited to 'chattyparser.py') diff --git a/chattyparser.py b/chattyparser.py index 02ac6f6..fc6975a 100644 --- a/chattyparser.py +++ b/chattyparser.py @@ -1,88 +1,140 @@ import re - -rss_re = re.compile("^VmRSS:\s+(\d+) kB$") +import matplotlib.pyplot as plt +import numpy as np ptr = "(?:0x)?(?P(?:\w+)|(?:\(nil\)))" size = "(?P\d+)" -time = "(?P