diff --git a/docs/source/install.rst b/docs/source/install.rst index d8d591c1..8d59f2c8 100644 --- a/docs/source/install.rst +++ b/docs/source/install.rst @@ -62,4 +62,36 @@ You can speedup your bots by following next instructions: $ pip install ujson +- Use aiohttp speedups + + - Use `cchardet `_ instead of chardet module. + + *cChardet* is high speed universal character encoding detector. + + **Installation:** + + .. code-block:: bash + + $ pip install cchardet + + - Use `aiodns `_ for speeding up DNS resolving. + + *aiodns* provides a simple way for doing asynchronous DNS resolutions. + + **Installation:** + + .. code-block:: bash + + $ pip install aiodns + + - Installing speedups altogether. + + The following will get you ``aiohttp`` along with ``cchardet,``, ``aiodns`` and ``brotlipy`` in one bundle. + + **Installation:** + + .. code-block:: bash + + $ pip install aiohttp[speedups] + In addition, you don't need do nothing, *aiogram* is automatically starts using that if is found in your environment.