
Implement new package which primary goal is to collect and validate performance metrics in managable way then dump them in JSON form for further processing/storage. Example usage: container = PerfContainer() container.insert_config_param("20.03.0000", ConfigParameter.CAS_VERSION) container.insert_cache_metric(20000000, IOMetric.read_IOPS) with open("perf.json", "w") as f: json.dump(container.to_serializable_dict(), f) Signed-off-by: Jan Musial <jan.musial@intel.com>
0 lines
Python
0 lines
Python