i'm new to php . i've to develop an application in which i have to select some code and then specify the test cases to measure network performance of that particular code. could any1 here help me to know how exactly it is done. network performance metrics include latency,throughput, bytes sent & received,packet loss.
output shud be in the form:
latency:xxxxxxxxxx
throughput:
bytes sent:
bytes received:
packet loss:

any help will be appreciated . this is my proj and i'm new to php plz i need help urgently.
thanks in advance

    php in itself is not linked to any network performance measures. PhP just creates the (x)html which is sent to the client, & the client may request information again from the server. But that is dependend on the HTML / AJAX structures you build.

    The amount of bytes send you can easily calculate by checking the size of your output pages, I'd say

      i know its sound stupid bt can u plz help me how to do this using ajax. plz help me if u can take out some time. its urgent . plz do help me

        garima wrote:

        i know its sound stupid bt can u plz help me how to do this using ajax. plz help me if u can take out some time. its urgent . plz do help me

        Could you find a proper keyboard before replying next time, instead of relying on your cellphone, please?

        No need to rush.

        Take all the time you need.

        No-one will know how slow you type.

          ok fine. now can you tell me how to do the same thing i asked earlier.

            As before: Your question has ABSOLUTELY nothing to do with PhP. The only thing related to your question would be the packet loss of the HTML sent to the client, and whether differences between spitting out the full HTML through object buffering or as it is generated. However.. That is not a PhP question, but a general server performance question.

            Post your question n a network management forum.

            [edit:}
            ps: As weedpacket hinted in his response: Read a reply to your post, check the keywords before you start asking further. It looks really silly to ask the sort of question you asked; we are not being payed to do this, and try to help people because we want to. But that also means you need to try and help yourself too.

              Write a Reply...