@@ -34,7 +34,7 @@ library. Motor was created to provide support for Tornado, with asyncio support
34
34
added later. Because of this, Motor provides full asyncio and Tornado support,
35
35
but still relies on a thread pool to perform network operations. In some cases,
36
36
this might lead to performance degradation when using the Motor library. To
37
- address this issue, the {+driver-async+} API includes asyncio support directly
37
+ address this issue, the {+driver-async+} API implements asyncio support directly
38
38
into {+driver-short+}.
39
39
40
40
Synchronous Versus Asynchronous
@@ -74,7 +74,7 @@ performed with 10 iterations of 1000 documents each.
74
74
75
75
.. list-table::
76
76
:header-rows: 1
77
- :widths: 20 40 40
77
+ :widths: 40 20 20
78
78
79
79
* - Operation
80
80
- Motor Performance
@@ -180,62 +180,6 @@ performed with 10 iterations of 1000 documents each.
180
180
- 0.740 MB/s
181
181
- 0.786 MB/s
182
182
183
- **Motor**
184
-
185
- TestFindManyAndEmptyCursor 74.074 MB/s
186
- TestFindManyAndEmptyCursor80Tasks 37.181 MB/s
187
- TestFindManyAndEmptyCursor8Tasks 63.145 MB/s
188
- TestFindOneByID 3.121 MB/s
189
- TestFindOneByID80Tasks 3.789 MB/s
190
- TestFindOneByID8Tasks 3.697 MB/s
191
- TestFindOneByIDUnlimitedTasks 3.866 MB/s
192
- TestGridFsDownload 573.770 MB/s
193
- TestGridFsUpload 430.870 MB/s
194
- TestLargeDocBulkInsert 82.631 MB/s
195
- TestLargeDocClientBulkInsert 75.057 MB/s
196
- TestLargeDocCollectionBulkInsert 85.810 MB/s
197
- TestLargeDocInsertOne 84.832 MB/s
198
- TestLargeDocInsertOneUnlimitedTasks 120.389 MB/s
199
- TestRunCommand 0.036 MB/s
200
- TestRunCommand80Tasks 0.042 MB/s
201
- TestRunCommand8Tasks 0.039 MB/s
202
- TestRunCommandUnlimitedTasks 0.043 MB/s
203
- TestSmallDocBulkInsert 35.071 MB/s
204
- TestSmallDocBulkMixedOps 0.729 MB/s
205
- TestSmallDocClientBulkInsert 25.032 MB/s
206
- TestSmallDocClientBulkMixedOps 1.746 MB/s
207
- TestSmallDocCollectionBulkInsert 34.144 MB/s
208
- TestSmallDocInsertOne 0.539 MB/s
209
- TestSmallDocInsertOneUnlimitedTasks 0.740 MB/s
210
-
211
- {+driver-async+}
212
-
213
- TestFindManyAndEmptyCursor 112.490 MB/s
214
- TestFindManyAndEmptyCursor8Tasks 97.165 MB/s
215
- TestFindManyAndEmptyCursor80Tasks 89.521 MB/s
216
- TestFindOneByID 2.922 MB/s
217
- TestFindOneByID8Tasks 3.445 MB/s
218
- TestFindOneByID80Tasks 4.071 MB/s
219
- TestFindOneByIDUnlimitedTasks 4.171 MB/s
220
- TestGridFsDownload 603.578 MB/s
221
- TestGridFsUpload 444.445 MB/s
222
- TestLargeDocBulkInsert 102.105 MB/s
223
- TestLargeDocClientBulkInsert 90.345 MB/s
224
- TestLargeDocCollectionBulkInsert 101.838 MB/s
225
- TestLargeDocInsertOne 101.934 MB/s
226
- TestLargeDocInsertOneUnlimitedTasks 163.553 MB/s
227
- TestRunCommand 0.034 MB/s
228
- TestRunCommand8Tasks 0.041 MB/s
229
- TestRunCommand80Tasks 0.043 MB/s
230
- TestRunCommandUnlimitedTasks 0.042 MB/s
231
- TestSmallDocBulkInsert 38.213 MB/s
232
- TestSmallDocBulkMixedOps 0.446 MB/s
233
- TestSmallDocClientBulkInsert 25.727 MB/s
234
- TestSmallDocClientBulkMixedOps 1.723 MB/s
235
- TestSmallDocCollectionBulkInsert 37.666 MB/s
236
- TestSmallDocInsertOne 0.572 MB/s
237
- TestSmallDocInsertOneUnlimitedTasks 0.786 MB/s
238
-
239
183
Migrate From Motor
240
184
------------------
241
185
0 commit comments