Skip to content

Commit dde3716

Browse files
committed
There are faster libraries today.
1 parent a28bb7f commit dde3716

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/faq/misc.rst

+3-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@ you must disable:
2424
* Keepalive: set ``ping_interval=None``
2525
* UTF-8 decoding: send ``bytes`` rather than ``str``
2626

27-
If websockets is still slower than another Python library, please file a bug.
27+
Then, please consider whether websockets is the bottleneck of the performance
28+
of your application. Usually, in real-world applications, CPU time spent in
29+
websockets is negligible compared to time spent in the application logic.
2830

2931
Are there ``onopen``, ``onmessage``, ``onerror``, and ``onclose`` callbacks?
3032
............................................................................

0 commit comments

Comments
 (0)