1. Pypy
  2. Untitled project
  3. compatibility

Wiki

Clone wiki

compatibility / pymongo

Note from Neurosurg (2011-apr): there is a performance issue for 700k records during this fetch using pymongo-1.10.1:

rows = list(c.db.my_collection.find({'selector': my_str_value }, 
                                    fields = [ "my_list_of_int_field", "my_str_field"]))

CPython 2.7.1 finishes in 24 sec, whereas pypy-1.5 finishes in 11 minutes. So pypy was about 30 times slower. All mongodb collection's data are already cached in RAM in both cases.

Updated