Searched refs:before_data (Results 1 – 1 of 1) sorted by relevance
/third_party/musl/Benchmark/scripts/ |
D | compare_benchmark_result.py | 28 def get_format(before_data, after_data, pct, fluctuation_range): argument 34 if before_data > after_data: 83 …before_data = self.benchmark_data_before[case][0] if case in self.benchmark_data_before.keys() els… 85 … pct = 0 if before_data == 0 else round((abs(before_data - after_data) / before_data) * 100, 2) 86 sign = "+" if (before_data - after_data) > 0 else "-" 87 output_format = self.get_format(before_data, after_data, pct, float(args.range)) 89 print(output_format.format(str(case), str(before_data), str(after_data), signed_pct))
|