-
Notifications
You must be signed in to change notification settings - Fork 387
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
How do you get pre-connection stats? #13
Comments
Thing are separated by library dependencies. socket stuff, including The transaction logic is in client.c This means everything you want to time is located in three different typedef struct CONN is passed as CONN *C; So in each individual module, when after you time it, assign it: C->times.connect = 0.001; etc. On Fri, May 22, 2015 at 12:02 PM, Anthony Andriano <notifications@github.com
|
thanks. i was able to break out some of the various pieces of the connection sequence using your method. |
cURL allows you to specify much more specific timing categories as follows:
time_namelookup: %{time_namelookup}\n
time_connect: %{time_connect}\n
time_appconnect: %{time_appconnect}\n
time_pretransfer: %{time_pretransfer}\n
time_redirect: %{time_redirect}\n
time_starttransfer: %{time_starttransfer}\n
time_total: %{time_total}\n
The result looks like this:
time_namelookup: 0.015
time_connect: 0.065
time_appconnect: 0.299
time_pretransfer: 0.299
time_redirect: 0.000
time_starttransfer: 0.913
time_total: 0.914
Is something like this possible in siege? I've been looking through http.c to see if I could figure out where to extract this information, but it's not clear to me if it's even being recorded. Any tips or information would be greatly appreciated.
The text was updated successfully, but these errors were encountered: