Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

return incorrect values #9

Open
zachross25 opened this issue Oct 22, 2016 · 2 comments
Open

return incorrect values #9

zachross25 opened this issue Oct 22, 2016 · 2 comments

Comments

@zachross25
Copy link

http://google.com Ping time was 2 ms
https://google.com Ping time was 250 ms
google.com Ping time was 359 ms

and from shell

ping google.com

64 bytes from 74.125.232.229: seq=0 ttl=57 time=56.154 ms

@michaelsanford
Copy link

michaelsanford commented Feb 2, 2017

This project is not a true ping. It's more like a time-to-load tester, probably issue from this SO question.

👉 https://github.com/jdfreder/pingjs#caveats

How do those values compare to the ones from your Developer Tools network requests?

@alex-shamshurin
Copy link

Because calculation is wrong. It does not take into consideration tcp handshake, http keep-alive, slow start and tcp windows

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants