use batch count for enumeration

This commit is contained in:
Ari Lazier 2016-02-15 17:43:43 -08:00
parent 2e2e7717b9
commit f34958ebae
1 changed files with 3 additions and 3 deletions

View File

@ -35,18 +35,18 @@ const numBatchTestObjects = numTestObjects * 100;
const numRepeats = 1; const numRepeats = 1;
const numQueryBuckets = 5; const numQueryBuckets = 5;
const tests = ["insertions", "enumeration", "binsertions", "querycount", "queryenum"]; const tests = ["insertions", "binsertions", "enumeration", "querycount", "queryenum"];
const expectedCounts = { const expectedCounts = {
insertions: numTestObjects, insertions: numTestObjects,
binsertions: numBatchTestObjects, binsertions: numBatchTestObjects,
enumeration: numTestObjects, enumeration: numBatchTestObjects,
querycount: numBatchTestObjects, querycount: numBatchTestObjects,
queryenum: numBatchTestObjects queryenum: numBatchTestObjects
}; };
const expectedResults = { const expectedResults = {
insertions: numTestObjects, insertions: numTestObjects,
binsertions: numBatchTestObjects, binsertions: numBatchTestObjects,
enumeration: numTestObjects, enumeration: numBatchTestObjects,
querycount: numBatchTestObjects / (numQueryBuckets * 200), querycount: numBatchTestObjects / (numQueryBuckets * 200),
queryenum: numBatchTestObjects / (numQueryBuckets * 200) queryenum: numBatchTestObjects / (numQueryBuckets * 200)
}; };