public static void Main(string[] args) { var StopWatch = new StopWatch(); StopWatch.Start(); IBootstrapper Bootstrapper = Utilities.IoC.Manager.Bootstrapper; StopWatch.Stop(); Console.WriteLine("Start up: " + StopWatch.ElapsedTime); using (IDisposable StartProfiler = Utilities.Profiler.Profiler.StartProfiling()) { var Rand = new System.Random(); SingleSourceCached(Rand); MultipleSourceCached(Rand); MultipleSourceCachedCascade(Rand); } Console.WriteLine(Utilities.Profiler.Profiler.StopProfiling(false).ToString()); QueryProvider.Batch("Data Source=localhost;Initial Catalog=SpeedTest;Integrated Security=SSPI;Pooling=false") .AddCommand(null, null, CommandType.Text, "ALTER DATABASE SpeedTest SET OFFLINE WITH ROLLBACK IMMEDIATE") .AddCommand(null, null, CommandType.Text, "ALTER DATABASE SpeedTest SET ONLINE") .AddCommand(null, null, CommandType.Text, "DROP DATABASE SpeedTest") .Execute(); Console.ReadKey(); }