File: performance.rst

package info (click to toggle)
python-ws4py 0.5.1%2Bdfsg1-4
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 736 kB
  • sloc: python: 4,520; makefile: 139; javascript: 96
file content (17 lines) | stat: -rw-r--r-- 514 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
.. _perf:

Performances
============

ws4py doesn't perform too bad but it's far from being the fastest WebSocket lib under heavy load. 
The reason is that it was first designed to implement the protocol with simplicity and clarity in mind. 
Future developments will look at performances. 

.. note::

   ws4py runs faster in some cases on PyPy than it does on CPython. 

.. note::

   The `wsaccel <https://github.com/methane/wsaccel>`_ package 
   replaces some internal bottleneck with a Cython implementation.