static void Main() { //GenerateAndSaveNewModel(); TestOutputSize(); //Console.ReadLine(); //BenchmarkSwitcher.FromAssembly(typeof(Program).Assembly).Run(null, new DebugInProcessConfig()); //BenchmarkRunner.Run<TestBenchmark>(); Console.ReadLine(); var benchmarks = new TestBenchmark(); benchmarks.Setup(); for (int i = 0; i < 16; i++) { benchmarks.ABSave(); } GC.Collect(); Debugger.Break(); for (int i = 0; i < 10000000; i++) { benchmarks.ABSave(); } Debugger.Break(); }
public static void TestOutputSize() { var benchmarks = new TestBenchmark(); benchmarks.Setup(); benchmarks.ABSave_Deserialize(); benchmarks.Finish(); }