Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Updated benchmark stats

  • Loading branch information...
commit 22010d7d959f4d7183c1ee257b832982c55ea4d8 1 parent 66279bd
@rozza rozza authored
Showing with 31 additions and 14 deletions.
  1. +31 −14 benchmark.py
View
45 benchmark.py
@@ -28,47 +28,64 @@ def main():
----------------------------------------------------------------------------------------------------
Creating 10000 dictionaries - Pymongo
- 1.1141769886
+ 3.86744189262
----------------------------------------------------------------------------------------------------
Creating 10000 dictionaries - MongoEngine
- 2.37724113464
+ 6.23374891281
----------------------------------------------------------------------------------------------------
Creating 10000 dictionaries - MongoEngine, safe=False, validate=False
- 1.92479610443
+ 5.33027005196
+ ----------------------------------------------------------------------------------------------------
+ Creating 10000 dictionaries - MongoEngine, safe=False, validate=False, cascade=False
+ pass - No Cascade
0.5.X
----------------------------------------------------------------------------------------------------
Creating 10000 dictionaries - Pymongo
- 1.10552310944
+ 3.89597702026
+ ----------------------------------------------------------------------------------------------------
+ Creating 10000 dictionaries - MongoEngine
+ 21.7735359669
+ ----------------------------------------------------------------------------------------------------
+ Creating 10000 dictionaries - MongoEngine, safe=False, validate=False
+ 19.8670389652
+ ----------------------------------------------------------------------------------------------------
+ Creating 10000 dictionaries - MongoEngine, safe=False, validate=False, cascade=False
+ pass - No Cascade
+
+ 0.6.X
+ ----------------------------------------------------------------------------------------------------
+ Creating 10000 dictionaries - Pymongo
+ 3.81559205055
----------------------------------------------------------------------------------------------------
Creating 10000 dictionaries - MongoEngine
- 16.5169169903
+ 10.0446798801
----------------------------------------------------------------------------------------------------
Creating 10000 dictionaries - MongoEngine, safe=False, validate=False
- 14.9446101189
+ 9.51354718208
----------------------------------------------------------------------------------------------------
Creating 10000 dictionaries - MongoEngine, safe=False, validate=False, cascade=False
- 14.912801981
+ 9.02567505836
----------------------------------------------------------------------------------------------------
Creating 10000 dictionaries - MongoEngine, force=True
- 14.9617750645
+ 8.44933390617
- Performance
+ 0.7.X
----------------------------------------------------------------------------------------------------
Creating 10000 dictionaries - Pymongo
- 1.10072994232
+ 3.78801012039
----------------------------------------------------------------------------------------------------
Creating 10000 dictionaries - MongoEngine
- 5.27341103554
+ 9.73050498962
----------------------------------------------------------------------------------------------------
Creating 10000 dictionaries - MongoEngine, safe=False, validate=False
- 4.49365401268
+ 8.33456707001
----------------------------------------------------------------------------------------------------
Creating 10000 dictionaries - MongoEngine, safe=False, validate=False, cascade=False
- 4.43459296227
+ 8.37778115273
----------------------------------------------------------------------------------------------------
Creating 10000 dictionaries - MongoEngine, force=True
- 4.40114378929
+ 8.36906409264
"""
setup = """
Please sign in to comment.
Something went wrong with that request. Please try again.