public PerformanceTestsResults RunTests() { TimeComparision fillDataTimeComparision = FillTablesWithData(); TimeComparision retrievingDataTimeComparision = TestRetrievingData(); _fakeDataStoreType.GetOrCreateStore().DeleteAll(); TimeComparision retrievingDataTimeComparisionWithoutFakeData = TestRetrievingData(); return(new PerformanceTestsResults(fillDataTimeComparision, retrievingDataTimeComparision, retrievingDataTimeComparisionWithoutFakeData)); }
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)); }