7 lines
		
	
	
		
			611 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			7 lines
		
	
	
		
			611 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| 1、cost_model_util:根据输入参数采集实验数据。需要将被测目标在这里建立一个参数可控的最小运行环境,提供基本的数据生成、schema控制等功能。
 | |
| 2、benchmaster_xxx:生成参数组合调用cost_model_util,需要根据被测目标的特点控制参数的种类、数量。例如对于join,需要控制左右表行数等。
 | |
| 3、preprocess:对原始数据进行预处理。例如benchmaster对每组参数运行多次,在这进行去极值、取平均等工作,将同参数的几组数据合为一组。
 | |
| 4、fit_xx:进行拟合
 | |
| 5、plot:绘制图像
 | |
| 
 | 
