feda7afc0b
Motivation: It is often helpful to measure the performance of connections, e.g. the latency and the throughput. This can be performed through benchmarks. Modification: This adds a simple but configurable benchmark for websockets into the example directory. The Netty WebSocket server will echo all received websocket frames and will provide an HTML/JS page which serves as the client for the benchmark. The benchmark also provides a verification mode that verifies the sent against the received data. This can be used for the verification ob websocket frame encoding and decoding funtionality. Result: A benchmark is added in form a further Netty websocket example. With this benchmark it is easily possible to measure the performance between Netty and a browser |
||
---|---|---|
.. | ||
java/io/netty/example | ||
resources/cors |