how to measure network performance of a code

Discussion in 'PHP' started by garima, Jun 11, 2008.

  1. #1
    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
     
    garima, Jun 11, 2008 IP
  2. CodyRo

    CodyRo Peon

    Messages:
    365
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Though you can write your own I recommend checking our PEAR package Net_Ping which should do what you want :).
     
    CodyRo, Jun 11, 2008 IP