From f34958ebae8bd1637b1e2953a5a031270cd88dc3 Mon Sep 17 00:00:00 2001 From: Ari Lazier Date: Mon, 15 Feb 2016 17:43:43 -0800 Subject: [PATCH] use batch count for enumeration --- examples/ReactNativeBenchmarks/benchmarks.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/ReactNativeBenchmarks/benchmarks.js b/examples/ReactNativeBenchmarks/benchmarks.js index 7d29b713..2af20ad4 100644 --- a/examples/ReactNativeBenchmarks/benchmarks.js +++ b/examples/ReactNativeBenchmarks/benchmarks.js @@ -35,18 +35,18 @@ const numBatchTestObjects = numTestObjects * 100; const numRepeats = 1; const numQueryBuckets = 5; -const tests = ["insertions", "enumeration", "binsertions", "querycount", "queryenum"]; +const tests = ["insertions", "binsertions", "enumeration", "querycount", "queryenum"]; const expectedCounts = { insertions: numTestObjects, binsertions: numBatchTestObjects, - enumeration: numTestObjects, + enumeration: numBatchTestObjects, querycount: numBatchTestObjects, queryenum: numBatchTestObjects }; const expectedResults = { insertions: numTestObjects, binsertions: numBatchTestObjects, - enumeration: numTestObjects, + enumeration: numBatchTestObjects, querycount: numBatchTestObjects / (numQueryBuckets * 200), queryenum: numBatchTestObjects / (numQueryBuckets * 200) };