Further, WebSocket allows to transmit binary payloads without any recoding or escaping. However, this is not the end of the story;) The overhead when sending application data over WebSocket occurs on multiple levels: WebSocket TLS (if running secure WebSocket) TCP IP Ethernet / other I did a couple of measurements using a JavaScript WebSocket client running in a browser that sends 8 WebSocket text
![Crossbario.com](https://cdn-ak-scissors.b.st-hatena.com/image/square/94c16f7dc4e7cd988e48b1068fa2a5ebfed49e84/height=288;version=1;width=512/http%3A%2F%2Ftavendo.com%2Fstatic%2Fimg%2Fblog%2Fdissecting-websocket-overhead%2Fchrome_1.png)