private static ProfilingTest createProfilingTest()
        {
            var ret = new ProfilingTest();

            ret.Setup();
            return(ret);
        }
        public void TestEnableDisableProfiling()
        {
            var t = new ProfilingTest();

            t.Setup();
            component.DisableProfiling();
            t.Execute100Mains();
            component.ShowResultsFrom(t.Root);
            Thread.Sleep(1000);
            component.EnableProfiling();
            t.Execute100Mains();
            component.ShowResultsFrom(t.Root);
        }