Exemplo n.º 1
0
        public PerformanceTestsResults RunTests()
        {
            TimeComparision fillDataTimeComparision       = FillTablesWithData();
            TimeComparision retrievingDataTimeComparision = TestRetrievingData();

            _fakeDataStoreType.GetOrCreateStore().DeleteAll();

            TimeComparision retrievingDataTimeComparisionWithoutFakeData = TestRetrievingData();

            return(new PerformanceTestsResults(fillDataTimeComparision, retrievingDataTimeComparision, retrievingDataTimeComparisionWithoutFakeData));
        }
Exemplo n.º 2
0
        public PerformanceTestsResults RunTests()
        {
            TimeComparision fillDataTimeComparision = FillTablesWithData();
            TimeComparision retrievingValueByIndexedColumnComparision             = TestRetrievingDataByIndexedValue();
            TimeComparision retrievingValueByUnindexedColumnComparision           = TestRetrievingDataByUnindexedValue();
            TimeComparision retrievingMultipleObjectsByUnindexedColumnComparision = TestRetrievingMultipleObjectsByUnindexedValue();
            TimeComparision retrievingCountByUnindexedValue = TestRetrievingCountByUnindexedValue();


            return(new PerformanceTestsResults(
                       fillDataTimeComparision,
                       retrievingValueByIndexedColumnComparision,
                       retrievingValueByUnindexedColumnComparision,
                       retrievingMultipleObjectsByUnindexedColumnComparision,
                       retrievingCountByUnindexedValue));
        }