コード例 #1
0
        public void CompareDSPSpecs()
        {
            var oldTime = ReflectDSPOld().TotalMilliseconds;
            var newTime = ReflectDSPParallel().TotalMilliseconds;

            CompareFunctions.Compare(parallelDspSpecs, serialDspSpecs);
            CompareFunctions.Compare(parallelDspMenus, serialDspMenus);

            WriteResult(newTime, oldTime, 40);
        }
コード例 #2
0
        public void CompareAWSpecs()
        {
            var oldTime = ReflectAdventureworksOld().TotalMilliseconds;
            var newTime = ReflectAdventureworksParallel().TotalMilliseconds;

            CompareFunctions.Compare(parallelAwSpecs, serialAwSpecs);
            CompareFunctions.Compare(parallelAwMenus, serialAwMenus);

            WriteResult(newTime, oldTime, 32);
        }
コード例 #3
0
 public void CompareDSPSpecs()
 {
     ReflectDSPOld();
     ReflectDSPParallel();
     CompareFunctions.Compare(parallelDspSpecs, serialDspSpecs);
 }
コード例 #4
0
 public void CompareAWSpecs()
 {
     ReflectAdventureworksOld();
     ReflectAdventureworksParallel();
     CompareFunctions.Compare(parallelAwSpecs, serialAwSpecs);
 }