diff options
author | Tomeu Vizoso <tomeu@tomeuvizoso.net> | 2008-09-19 07:39:41 (GMT) |
---|---|---|
committer | Tomeu Vizoso <tomeu@tomeuvizoso.net> | 2008-09-19 07:39:41 (GMT) |
commit | 4b6d911850739ed9d0aa9d9ba4c444c15123a8a6 (patch) | |
tree | 9670ccca1ca7c35f4f1bdd810aab8d1988a029fe | |
parent | 3f39e9b4d679c22bf008ecca281981b768559e4d (diff) |
Fix speed reporting of find()
-rw-r--r-- | tests/test_perf.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_perf.py b/tests/test_perf.py index 2db6b10..89996ac 100644 --- a/tests/test_perf.py +++ b/tests/test_perf.py @@ -105,5 +105,5 @@ for i in range(n): t = time.time() results, count = data_store.find(query, properties) total += time.time() - t -print 'Searched %r full entries in %.2f ms. avg' % (n, float(total * 1000) / len(uids)) +print 'Searched %r full entries in %.2f ms. avg' % (n, float(total * 1000) / n) |