MCPcopy Create free account
hub / github.com/ARM-software/ComputeLibrary / parse_json

Function parse_json

examples/gemm_tuner/GemmTuner.py:558–563  ·  view source on GitHub ↗

Glob all benchmark result json files and parse them into json objects (dicts).

(dir_name)

Source from the content-addressed store, hash-verified

556
557
558def 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
566def check_out_path(out_path):

Callers 1

mainFunction · 0.85

Calls 2

loadMethod · 0.80
formatMethod · 0.45

Tested by

no test coverage detected