Пример #1
0
        static void Main(string[] args)
        {
            var plugin = DbManager.SetPlugin(PersistencePlugin.InMemory);

            PrintWelcomeMessage(plugin);

            DbManager.ResetDbs(plugin);
            UnityConfig.InitializeMainContainer(plugin);

            // Holding in memory messages
            // Expected: Events: waves * users * 2;

            Console.WriteLine("Press enter to start....");
            Console.ReadLine();

            RunBenchmark(plugin);

            DbManager.DropDb(plugin);
        }