diff options
author | Tibor Frank <tifrank@cisco.com> | 2019-08-01 09:13:02 +0200 |
---|---|---|
committer | Tibor Frank <tifrank@cisco.com> | 2019-08-01 08:29:58 +0000 |
commit | fca2fc9b8212ca088ea2374c42685312afb8149f (patch) | |
tree | 4e928b6f814de962ef20dc8ad35a57c48e4d9a84 /resources/tools/presentation/input_data_parser.py | |
parent | e8e655c1c5aafbffd8040c5fcfecfd4e5d9011c5 (diff) |
Trending: Memory consumption
Change-Id: I26a7d9e7ee0b1a64666c3ffbcfc424f04a52d046
Signed-off-by: Tibor Frank <tifrank@cisco.com>
Diffstat (limited to 'resources/tools/presentation/input_data_parser.py')
-rw-r--r-- | resources/tools/presentation/input_data_parser.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/resources/tools/presentation/input_data_parser.py b/resources/tools/presentation/input_data_parser.py index 762afc4180..37532c83d2 100644 --- a/resources/tools/presentation/input_data_parser.py +++ b/resources/tools/presentation/input_data_parser.py @@ -22,6 +22,8 @@ import multiprocessing import os import re +import resource +import objgraph import pandas as pd import logging @@ -1329,6 +1331,11 @@ class InputData(object): self._cfg.set_input_state(job, build_nr, result["state"]) + logging.info("ru_maxrss = {0}".format( + resource.getrusage(resource.RUSAGE_SELF).ru_maxrss)) + + logging.info(objgraph.most_common_types()) + logging.info("Done.") @staticmethod |