public void CallConstStaticPerfCounter()
{
const int baseLineMultiThreadConstStaticParmRunsPerSec = 23000; // 31500; // 33500;
const int baseLineSingleThreadConstStaticParmRunsPerSec = 8500; // 9000
long runsPerSec;
runsPerSec = RunCounter.SpinParallelPerSec(MillisecToRun, () => AOP.Invoke(() => SomeTestClass.DoNothingStatic(123, "bogus", false, 1m, null)));
this.TestContext.WriteLine("DoNothingStatic() STATIC PROXIED PARALLEL LOCALVARS CONSTANTPARAMS got {0} cps, with expected {1} cps.", runsPerSec, baseLineMultiThreadConstStaticParmRunsPerSec);
//Assert.IsTrue(runsPerSec >= baseLineMultiThreadConstStaticParmRunsPerSec);
runsPerSec = RunCounter.SpinPerSec(MillisecToRun, () => AOP.Invoke(() => SomeTestClass.DoNothingStatic(123, "bogus", false, 1m, null)));
this.TestContext.WriteLine("DoNothingStatic() STATIC PROXIED SEQUENTIAL CONSTANTPARAMS got {0} cps, with expected {1} cps.", runsPerSec, baseLineSingleThreadConstStaticParmRunsPerSec);
//Assert.IsTrue(runsPerSec >= baseLineSingleThreadConstStaticParmRunsPerSec);
}