Lines Matching defs:json
94 Apply a filter to the json, and only leave the 'family' of benchmarks.
108 def get_unique_benchmark_names(json):
113 uniqued = [x['name'] for x in json['benchmarks']
171 def calculate_geomean(json):
177 for benchmark in json['benchmarks']:
249 runs specified as 'json1' and 'json2'. Output is another json containing
399 import json
404 testOutput = os.path.join(testInputs, 'test3_run0.json')
406 json = json.load(f)
407 return json
416 json = self.load_results()
417 output_lines = get_unique_benchmark_names(json)
429 import json
434 testOutput1 = os.path.join(testInputs, 'test1_run1.json')
435 testOutput2 = os.path.join(testInputs, 'test1_run2.json')
437 json1 = json.load(f)
439 json2 = json.load(f)
620 import json
625 testOutput = os.path.join(testInputs, 'test2_run.json')
627 json = json.load(f)
628 return json
630 json = load_result()
631 json1 = filter_benchmark(json, "BM_Z.ro", ".")
632 json2 = filter_benchmark(json, "BM_O.e", ".")
704 import json
709 testOutput1 = os.path.join(testInputs, 'test3_run0.json')
710 testOutput2 = os.path.join(testInputs, 'test3_run1.json')
712 json1 = json.load(f)
714 json2 = json.load(f)
909 import json
914 testOutput1 = os.path.join(testInputs, 'test3_run0.json')
915 testOutput2 = os.path.join(testInputs, 'test3_run1.json')
917 json1 = json.load(f)
919 json2 = json.load(f)
1070 import json
1075 testOutput1 = os.path.join(testInputs, 'test4_run0.json')
1076 testOutput2 = os.path.join(testInputs, 'test4_run1.json')
1078 json1 = json.load(f)
1080 json2 = json.load(f)
1131 import json
1136 testOutput = os.path.join(testInputs, 'test4_run.json')
1138 json = json.load(f)
1139 return json
1141 cls.json = load_result()
1161 for n in range(len(self.json['benchmarks']) ** 2):
1162 random.shuffle(self.json['benchmarks'])
1163 sorted_benchmarks = util.sort_benchmark_results(self.json)[