예제 #1
0
 public static double FibonacciCrunchParallel(int dummy)
 {
     Parallel.For(0, Environment.ProcessorCount, i => TestImplementations.FibonacciDigits(500000));
     return(0.0);
 }
예제 #2
0
 public static double Matrixer(int dummy)
 {
     return(0.0 + TestImplementations.MatrixMultiplier(150));
 }
예제 #3
0
 public static double PrimeCrunchParallel(int dummy)
 {
     Parallel.For(0, Environment.ProcessorCount, i => TestImplementations.Primes(25000));
     return(0.0);
 }
예제 #4
0
 public static double PrimeCrunch(int dummy)
 {
     return(0.0 + TestImplementations.Primes(50000));
 }
예제 #5
0
 public static double FibonacciCrunch(int dummy)
 {
     return(0.0 + TestImplementations.FibonacciDigits(250000));
 }
예제 #6
0
 public static double PiCrunch(int dummy)
 {
     return(0.0 + TestImplementations.PiDigits(100));
 }
예제 #7
0
 public static double LoremChars(int dummy)
 {
     return(0.0 + TestImplementations.CharacterCount(Program.LoremIpsum));
 }