Esempio n. 1
0
        private static void Main(string[] args)
        {
            PerformanceRunner.TimeAction(PerformanceRunner.RunInsertTable);

            Console.WriteLine("Press any key to continue");
            Console.ReadKey();
        }
Esempio n. 2
0
        private static void Main(string[] args)
        {
            //var wb = new XLWorkbook();
            //wb.SaveAs(@"c:\temp\saved.xlsx");
            //Console.WriteLine("Done");
            PerformanceRunner.TimeAction(PerformanceRunner.RunInsertTable);

            Console.WriteLine("Press any key to continue");
            Console.ReadKey();
        }
Esempio n. 3
0
        private static void Main(string[] args)
        {
            Console.WriteLine("Running {0}", nameof(PerformanceRunner.OpenTestFile));
            PerformanceRunner.TimeAction(PerformanceRunner.OpenTestFile);
            Console.WriteLine();

            Console.WriteLine("Running {0}", nameof(PerformanceRunner.RunInsertTable));
            PerformanceRunner.TimeAction(PerformanceRunner.RunInsertTable);
            Console.WriteLine();

            Console.WriteLine("Press any key to continue");
            Console.ReadKey();
        }
Esempio n. 4
0
        private static void Main(string[] args)
        {
            Console.WriteLine("Running {0}", nameof(PerformanceRunner.OpenTestFile));
            PerformanceRunner.TimeAction(PerformanceRunner.OpenTestFile);
            Console.WriteLine();

            // Disable this block by default - I don't use it often
#if false
            Console.WriteLine("Running {0}", nameof(PerformanceRunner.RunInsertTable));
            PerformanceRunner.TimeAction(PerformanceRunner.RunInsertTable);
            Console.WriteLine();
#endif

            Console.WriteLine("Press any key to continue");
            Console.ReadKey();
        }