You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Jessie Murray 8d1b6c40f8
Fix instant vs overall rate in websocket C test
The overall rate was incorrect when using non-default intervals. Also
simplify the code using plain nanosecond values, and fix the rate for
the last event which was based on the number of sleeps instead of the
actual time elapsed.
3 years ago
..
Makefile Add progress thread w/ custom interval for WS test 3 years ago
README.tests README for tests. 14 years ago
basic.py Disable pub/sub tests for now, rename curl-tests function 3 years ago
bench.sh Allow test programs use custom port using environment variable or command-line argument 11 years ago
curl-tests.sh Disable pub/sub tests for now, rename curl-tests function 3 years ago
limits.py Convert tests to Python3 5 years ago
pubsub.c Clean up empty indented lines 4 years ago
websocket.c Fix instant vs overall rate in websocket C test 3 years ago
websocket.html Refactor websocket.html to remove duplicate HTML 3 years ago

README.tests

This directory contains a few test programs for Webdis:

* basic.py:	Unit tests.
* bench.sh:	Benchmark of several functions.
* pubsub (run `make' to compile): Tests pub/sub channels; run `./pubsub -h` for options.
* websocket (run `make' to compile): Tests HTML5 WebSockets; run `./websocket -h` for options.