Glob all benchmark result json files and parse them into json objects (dicts).
(dir_name)
| 556 | |
| 557 | |
| 558 | def parse_json(dir_name): |
| 559 | """ Glob all benchmark result json files and parse them into json objects (dicts). |
| 560 | """ |
| 561 | for res_fn in Path(dir_name).rglob("*.{}".format(BENCHMARK_RESULT_JSON_EXTENSION)): |
| 562 | with open(res_fn) as res_fp: |
| 563 | yield json.load(res_fp) |
| 564 | |
| 565 | |
| 566 | def check_out_path(out_path): |