Debian Codegraph @

testing/web-platform/tests/tools/third_party/websockets/docs/topics/performance.rst

raw
1 Performance
2 ===========
3
4 Here are tips to optimize performance.
5
6 uvloop
7 ------
8
9 You can make a websockets application faster by running it with uvloop_.
10
11 (This advice isn't specific to websockets. It applies to any :mod:`asyncio`
12 application.)
13
14 .. _uvloop: https://github.com/MagicStack/uvloop
15
16 broadcast
17 ---------
18
19 :func:`~websockets.broadcast` is the most efficient way to send a message to
20 many clients.