static void Main(string[] args) { APRuntime.Initialize("HydraBenchmark.ini"); string[] fileNameSet = Directory.GetFiles(configFilePath); StreamConfig streams = new StreamConfig(10000, 10); foreach (string x in fileNameSet) { string[] sp = x.Split(testConfig.configFileSeparator); if (sp.Length < 2 || sp[1] != testConfig.configFileSuffix) continue; AutoTest test = new AutoTest(streams, x, totalTestTime, recordInterval); Console.WriteLine("[Config Start]: {0}", x); test.Run(TestRunMode.SingleThread, configFilePath); //test.Run(TestRunMode.Parrallel); } return; }
static void Main(string[] args) { APRuntime.Initialize("HydraBenchmark.ini"); string[] fileNameSet = Directory.GetFiles(configFilePath); StreamConfig streams = new StreamConfig(10000, 10); foreach (string x in fileNameSet) { string[] sp = x.Split(testConfig.configFileSeparator); if (sp.Length < 2 || sp[1] != testConfig.configFileSuffix) { continue; } AutoTest test = new AutoTest(streams, x, totalTestTime, recordInterval); Console.WriteLine("[Config Start]: {0}", x); test.Run(TestRunMode.SingleThread, configFilePath); //test.Run(TestRunMode.Parrallel); } return; }