示例#1
0
 private static void RunClassStaticActions()
 {
     var test = new ClassMapPerformanceTest();
     test.PerformanceIterations = PerformanceIterations;
     Console.WriteLine("Starting Class Static Actions");
     var stopwatch = Stopwatch.StartNew();
     test.FullUserToPartialUser_Actions();
     stopwatch.Stop();
     Console.WriteLine("Class Static Actions completed in: {0} ms", stopwatch.ElapsedMilliseconds);
 } 
示例#2
0
 private static void RunClassManual()
 {
     var test = new ClassMapPerformanceTest();
     test.PerformanceIterations = PerformanceIterations;
     Console.WriteLine("Starting Class Manual");
     var stopwatch = Stopwatch.StartNew();
     test.UserToUserModel_Manual();
     stopwatch.Stop();
     Console.WriteLine("Class Manual completed in: {0} ms", stopwatch.ElapsedMilliseconds);
 }