forked from googlearchive/pywebsocket
-
Notifications
You must be signed in to change notification settings - Fork 0
Benckmark
Google Code Exporter edited this page Aug 20, 2015
·
1 revision
- Checkout the latest pywebsocket
$ svn checkout https://pywebsocket.googlecode.com/svn/trunk
- Open
setup.pyusing some editor and set_USE_FAST_MASKINGtoTrue - Build the extension
$ ./setup.py build_ext --inplace
- Move to
src/
$ cd src
- Launch pywebsocket
$ PYTHONPATH=. python mod_pywebsocket/standalone.py -p <port> -d example
- Navigate your browser to
localhost:<port>/benchmark.html
- Open console.html
- Connect to the resource "
ws://<host>:<port>/echo_noext". - Check "Show time stamp"
- Specify some big file and click send file.