-
Type: Epic
-
Resolution: Fixed
-
Priority: Unknown
-
Affects Version/s: None
-
Component/s: BSON, Performance
-
None
-
Done
-
Python BSON performance
-
0
-
0
-
0
-
100
Summary
Optimize BSON encoding/decoding performance. PYTHON-3717 and PYTHON-3718 highlighted that we have a few glaring inefficiencies in BSON encoding/decoding in our C extension. Let's address some of these more thoroughly.
Motivation
Who is the affected end user?
Improving BSON performance will speed up all apps using pymongo.
How does this affect the end user?
Higher CPU usage, lower throughput.
- is related to
-
PYTHON-3832 Update the CPython PyObject_HasAttrString docs to mention PyObject_HasAttr is faster
- Backlog
-
PYTHON-3717 Speed up _type_marker check in BSON
- Closed
-
PYTHON-3718 Faster INT2STRING
- Closed
- related to
-
PYTHON-3856 PyMongo Engineering Blog Post: Upto 8x Improvement in BSON Encoding
- Backlog