def compare_performance(bench_values, unique_id, systems_groups, detail, rampup_value=0, current_dir=""): for group in systems_groups: systems = utils.find_sub_element(bench_values, unique_id, 'disk', group) check.logical_disks_perf(systems, unique_id, systems_groups.index(group), detail, rampup_value, current_dir) for group in systems_groups: systems = utils.find_sub_element(bench_values, unique_id, 'cpu', group) check.cpu_perf(systems, unique_id, systems_groups.index(group), detail, rampup_value, current_dir) for group in systems_groups: systems = utils.find_sub_element(bench_values, unique_id, 'cpu', group) check.memory_perf(systems, unique_id, systems_groups.index(group), detail, rampup_value, current_dir) for group in systems_groups: systems = utils.find_sub_element(bench_values, unique_id, 'network', group) check.network_perf(systems, unique_id, systems_groups.index(group), detail, rampup_value, current_dir)
def compare_performance(bench_values, systems_groups, detail): for group in systems_groups: systems = utils.find_sub_element(bench_values, 'disk', group) check.logical_disks_perf(systems, systems_groups.index(group), detail) for group in systems_groups: systems = utils.find_sub_element(bench_values, 'cpu', group) check.cpu_perf(systems, systems_groups.index(group), detail) for group in systems_groups: systems = utils.find_sub_element(bench_values, 'cpu', group) check.memory_perf(systems, systems_groups.index(group), detail)