Beispiel #1
0
 public void ObjrefValueTypeObj()
 {
     for (int i = 0; i < InnerIterationCount200000; i++)
     {
         orvt = (FooORVT)o;
     }
 }
Beispiel #2
0
        public static void ObjrefValueTypeObj()
        {
            o = (Object)orvt;

            foreach (var iteration in Benchmark.Iterations)
            {
                using (iteration.StartMeasurement())
                    for (int i = 0; i < Benchmark.InnerIterationCount; i++)
                    {
                        orvt = (FooORVT)o;
                    }
            }
        }
Beispiel #3
0
        public static void ObjrefValueTypeObj()
        {
            o = (Object)orvt;

            foreach (var iteration in Benchmark.Iterations)
                using (iteration.StartMeasurement())
                    for (int i = 0; i < Benchmark.InnerIterationCount; i++)
                        orvt = (FooORVT)o;
        }