oblac / jodd-http

Simple Java HTTP client.
https://http.jodd.org
BSD 2-Clause "Simplified" License
24 stars 9 forks source link

Add statistics time #12

Open OnePieceMan opened 1 year ago

OnePieceMan commented 1 year ago

Like a browser, it can count the waterfall flow and length of visits.

igr commented 1 year ago

That is a very cool idea! We already have a HttpSession object that behaves like a browsers (i.e. keeps session, cookies etc), it should be easy to add something like that!

igr commented 1 year ago

Trying to define the data to capture

neroux commented 6 months ago

Trying to define the data to capture

The sky is the limit 😄

As for the timings, I'd go either with absolute timestamps (from which one can infer the duration, of course) or some kind of ticks for each individual step. Though, maybe splitting by the following actions could be a good idea

The data points you mentioned, @igr, look good to me, maybe also the request method.

@OnePieceMan, what do you think?