Guest User

Hi. While profiling by myself, I would like to ask a question. According to the attached file, I noticed delay between NO 28 and NO 29 where the apache provides httpclient. Even if you might not see such delay on detailed log, you could see such delay on other methods calling httpclient. To fix it, do I need to test httpclient jar to measure delay time or edit the related source (open source) directly? Maybe I do not find the actual cause and profile in a wrong way. Thanks.

Khalid Saeed

It took much time on sendHttpPost method of 6 line. You could see the actual socket right below the line. It looks the method is a path of communication to socket.

Guest User

Thanks for your answer. I thought a part communicating with socket at line 16 and 17 does not have a gap. What actually caused delay is between no. 28 and 29.

The method located at no.6 took 3,049 and took 3,043 from no. 28 to 29. I thought this is the reason of delay. I do not understand why you brought the socket. By the time line 17 goes over line 18, isn’t it reasonable to think that the socket communication is over? I need your answer.

Khalid Saeed

When you look at the structure of hierarchy, those located under line 6 are all located under the line 6. If the socket is connected inside other methods, it will appear at the response time of related method, not at the gap. Method will be shown in order, however, socket may not appear in order.