This takes 11 seconds even without the debug print outs:
$ GET -dx https://webkeks.org/hg/static/hglogo.png 2>&1 | perl -n
-e 'print "", time, " ", $_' | sort | uniq -c
1 1230937382 LWP::Protocol::http::request: ()
1 1230937382 LWP::UserAgent::_need_proxy: Not proxied
1 1230937382 LWP::UserAgent::new: ()
1 1230937382 LWP::UserAgent::request: ()
1 1230937382 LWP::UserAgent::send_request: GET https://webkeks.org/hg/static/hglogo.png
132 1230937384 LWP::Protocol::collect: read 1 bytes
570 1230937385 LWP::Protocol::collect: read 1 bytes
550 1230937386 LWP::Protocol::collect: read 1 bytes
569 1230937387 LWP::Protocol::collect: read 1 bytes
550 1230937388 LWP::Protocol::collect: read 1 bytes
550 1230937389 LWP::Protocol::collect: read 1 bytes
551 1230937390 LWP::Protocol::collect: read 1 bytes
550 1230937391 LWP::Protocol::collect: read 1 bytes
101 1230937392 LWP::Protocol::collect: read 1 bytes
1 1230937392 LWP::UserAgent::request: Simple response: OK
$ GET -dx https://webkeks.org/hg/static/hglogo.png 2>&1 | perl -n -e 'print "", time, " ", $_' | sort | uniq -c
1 1230964203 LWP::Protocol::http::request: ()
1 1230964203 LWP::UserAgent::_need_proxy: Not proxied
1 1230964203 LWP::UserAgent::new: ()
1 1230964203 LWP::UserAgent::request: ()
1 1230964203 LWP::UserAgent::send_request: GET https://webkeks.org/hg/static/hglogo.png
1 1230964206 LWP::Protocol::collect: read 27 bytes
1 1230964206 LWP::Protocol::collect: read 4096 bytes
1 1230964206 LWP::UserAgent::request: Simple response: OK