Skip to content
This repository was archived by the owner on Dec 1, 2025. It is now read-only.

Repository files navigation

MongoMallard

MongoMallard is a fast ORM-like layer on top of PyMongo, based on MongoEngine.

Benchmarks

Sample run on a 2.7 GHz Intel Core i5 running OS X 10.8.3

MongoEngine 0.8.2 (ede9fcf)MongoMallard (478062c)Speedup
Doc initialization52.494us25.195us2.08x
Doc getattr1.339us0.584us2.29x
Doc setattr3.064us2.550us1.20x
Doc to mongo49.415us26.497us1.86x
Load from SON61.475us4.510us13.63x
Save to database434.389us289.972us2.29x
Load from database558.178us480.690us1.16x
Save/delete big object to database98.838ms65.789ms1.50x
Serialize big object from database31.390ms20.265ms1.55x
Load big object from database41.159ms1.400ms29.40x

See tests/benchmark.py for source code.

About

A Python Object-Document-Mapper for working with MongoDB

Resources

Contributing

Stars

38 stars

Watchers

7 watching

Forks

Releases

Packages

Used by

Contributors

Languages