Improve performance of client.bulk_write. Here are the results of the new benchmarks from this run:
Name | MB/sec |
---|---|
LargeDocClientBulkInsert | 21.086811 |
LargeDocBulkInsert | 104.5071745 |
SmallDocClientBulkMixedOps | 1.353895781 |
SmallDocBulkMixedOps | 0.6469863368 |
SmallDocClientBulkInsert | 8.437455728 |
SmallDocBulkInsert | 41.5301894659 |
So it looks like we have a lot of work to do to make client.bulk_write's perf on par with coll.bulk_write. PYTHON-4596 and PYTHON-4591 may be enough but there could be other work required.
- is related to
-
PYTHON-4591 Add C extensions for MongoClient.bulk_write API
- Backlog
-
PYTHON-4578 Add benchmarks for client.bulk_write and collection.bulk_write
- Closed
- related to
-
PYTHON-4591 Add C extensions for MongoClient.bulk_write API
- Backlog
-
PYTHON-4596 Only encode each operation document once for MongoClient.bulk_write
- Closed