minor health tweak to benchmark.py

This commit is contained in:
Stefan Wojcik 2016-12-06 23:04:38 -05:00
parent 7dd4639037
commit 1b36ca00e5

View File

@ -15,11 +15,10 @@ def cprofile_main():
class Noddy(Document): class Noddy(Document):
fields = DictField() fields = DictField()
for i in range(1): noddy = Noddy()
noddy = Noddy() for j in range(20):
for j in range(20): noddy.fields["key" + str(j)] = "value " + str(j)
noddy.fields["key" + str(j)] = "value " + str(j) noddy.save()
noddy.save()
def main(): def main():