File tree Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -70,7 +70,8 @@ Performance Benchmarks
70
70
71
71
The following table shows the performance benchmarks for different tasks
72
72
performed with the {+driver-async+} API and the Motor library. Each task was
73
- performed with 10 iterations of 1000 documents each.
73
+ performed with 10 iterations of 1000 documents each. In most
74
+ cases, the {+driver-async+} API results in improved performance over Motor.
74
75
75
76
.. list-table::
76
77
:header-rows: 1
@@ -82,7 +83,7 @@ performed with 10 iterations of 1000 documents each.
82
83
83
84
* - ``TestFindManyAndEmptyCursor``
84
85
- 74.074 MB/s
85
- - 112.490 MB/s
86
+ - 112.490 MB/s
86
87
87
88
* - ``TestFindManyAndEmptyCursor80Tasks``
88
89
- 37.181 MB/s
@@ -215,17 +216,13 @@ the Compatibility guide.
215
216
The following section shows the method signature changes that you must implement
216
217
in your application when migrating from Motor to the {+driver-async+} API.
217
218
218
- .. warning::
219
-
220
- The {+driver-async+} API does not support Tornado.
221
-
222
219
Method Signature Changes
223
220
~~~~~~~~~~~~~~~~~~~~~~~~
224
221
225
222
The following Motor method signatures behave differently in the {+driver-async+} API:
226
223
227
224
- ``AsyncMongoClient.__init__()`` does not accept an ``io_loop`` parameter.
228
- - ``AsyncCursor.each()`` does not exist in the {+driver-async+} api-root .
225
+ - ``AsyncCursor.each()`` does not exist in the {+driver-async+} API .
229
226
- ``MotorGridOut.stream_to_handler()`` does not exist in the {+driver-async+} API.
230
227
- ``AsyncCursor.to_list(0)`` is not valid in the {+driver-async+} API. Use
231
228
``to_list(None)`` instead.
You can’t perform that action at this time.
0 commit comments