func init()

in perf-tools/main.go [52:66]


func init() {
	// test options
	configFile := flag.String("config", "",
		"absolute path to the config file for performance tests")
	scenarioNames := flag.String("scenarios", "",
		"The comma separated names of scenarios which are expected to run")
	logLevel := flag.Int("logLevel", DefaultLoggingLevel,
		"logging level, available range [-1, 5], from DEBUG to FATAL.")
	flag.Parse()
	commandLineConfig = &CommandLineConfig{
		ConfigFilePath: *configFile,
		ScenarioNames:  *scenarioNames,
		LogLevel:       *logLevel,
	}
}