Skip to content

Commit e6f98df

Browse files
tech feedback
1 parent 2eadd88 commit e6f98df

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

source/reference/migration.txt

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,8 @@ Performance Benchmarks
7070

7171
The following table shows the performance benchmarks for different tasks
7272
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.
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.
215216
The following section shows the method signature changes that you must implement
216217
in 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-
222219
Method Signature Changes
223220
~~~~~~~~~~~~~~~~~~~~~~~~
224221

225222
The 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.

0 commit comments

Comments
 (0)