TooTallNate/Java-WebSocket — Issue #77: Detailed timing
Author: detro
Created: 2012-03-07 17:08:11+00:00
State: open

For my work I'm using this library and contributing back the bits and bolts that I think can be beneficial for everyone.

Now, I'm going to add something I'm not sure everyone would agree on: Timings.
For our work we need to produce HAR format of every single transaction, and this library makes a bit hard to figure out what's happening under the hood of the WebSocket.java class in terms of timings.

How long it took to connect to the WS Server?
How long did it took to send the Handshake?
How long did it took to receive stuff back?

This is very relevant for our business, that works on those numbers.
So, I'm wondering, are you guys interested in this feature if I add it?

I'm thinking to enrich the WebSocketListener interface to do this.

Details on HAR timings specs: http://www.softwareishard.com/blog/har-12-spec/#timings

Let me know your thoughts.
Ivan