Is bandwidth checker with PHP script best way to measure your speed?

Hello experts,
I am currently using bandwidth checker with PHP script to measure my network speed but some times I feel that it can't give me the all the statistics which I want for example exact number of bytes transmitted, HTTP headers and also some extra info. Please suggest me some other software who have advance features and also from where I can get it?
