Skip to content

Commit

Permalink
profile multiple conditions
Browse files Browse the repository at this point in the history
  • Loading branch information
Greg Friedland committed Feb 17, 2019
1 parent c37e33d commit 1cbf780
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions python_bindings/tests/bindings_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -219,9 +219,12 @@ def _get_index(self, space='bit_jaccard'):
raise NotImplementedError()

def testKnnQuery(self):
nbits = 512
for num_elems in [30000, 100000, 300000, 1000000]:
for nbits in [512, 2048]:
self._testKnnQuery(nbits, num_elems)

def _testKnnQuery(self, nbits, num_elems):
chunk_size = 10000
num_elems = 100000

ps_proc = psutil.Process()
# print(f"\n{ps_proc.memory_info()}")
Expand Down

0 comments on commit 1cbf780

Please sign in to comment.