Esempio n. 1
0
		/// <exception cref="IOException"></exception>
		public static void Main(string[] args)
		{
			IoBenchmarkArgumentParser argumentParser = new IoBenchmarkArgumentParser(args);
			PrintBenchmarkHeader();
			IoBenchmark ioBenchmark = new IoBenchmark();
			if (argumentParser.Delayed())
			{
				ioBenchmark.ProcessResultsFiles(argumentParser.ResultsFile1(), argumentParser.ResultsFile2
					());
			}
			ioBenchmark.Run(argumentParser);
		}
Esempio n. 2
0
		/// <exception cref="IOException"></exception>
		private void Run(IoBenchmarkArgumentParser argumentParser)
		{
			RunTargetApplication(argumentParser.ObjectCount());
			PrepareDbFile(argumentParser.ObjectCount());
			RunBenchmark(argumentParser.ObjectCount());
		}