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
7070
7171The following table shows the performance benchmarks for different tasks
7272performed 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.
7475
7576.. list-table::
7677 :header-rows: 1
@@ -82,7 +83,7 @@ performed with 10 iterations of 1000 documents each.
8283
8384 * - ``TestFindManyAndEmptyCursor``
8485 - 74.074 MB/s
85- - 112.490 MB/s
86+ - 112.490 MB/s
8687
8788 * - ``TestFindManyAndEmptyCursor80Tasks``
8889 - 37.181 MB/s
@@ -215,17 +216,13 @@ the Compatibility guide.
215216The following section shows the method signature changes that you must implement
216217in your application when migrating from Motor to the {+driver-async+} API.
217218
218- .. warning::
219-
220- The {+driver-async+} API does not support Tornado.
221-
222219Method Signature Changes
223220~~~~~~~~~~~~~~~~~~~~~~~~
224221
225222The following Motor method signatures behave differently in the {+driver-async+} API:
226223
227224- ``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 .
229226- ``MotorGridOut.stream_to_handler()`` does not exist in the {+driver-async+} API.
230227- ``AsyncCursor.to_list(0)`` is not valid in the {+driver-async+} API. Use
231228 ``to_list(None)`` instead.
You can’t perform that action at this time.
0 commit comments