Example #1
0
        public async Task <TestResult> QueryTenThousandItems()
        {
            var testResult = new TestResult();

            testResult.TestType = (int)TestType.TenThousandQuery;

            // Insert result for realm
            var realmResult = _realmRepository.QueryTenThousand();


            // Insert result for Sqlite
            var sqlResult = await _sqliteRepository.QueryTenThousand();

            // Save testresult
            testResult.RealmMilliseconds = realmResult;
            testResult.SqlMilliseconds   = sqlResult;

            return(testResult);
        }