Comments (8)
Yes, that's probably a good idea.
I'll add that in the next version
from speedtest.
I'm sure I had that in the old version of the documentation.
Anyways, expect an update in the next few hours.
from speedtest.
Try asking him how he solved it. My guess is that it was incorrect server config.
from speedtest.
...or you can just remove the /2 at line 325 in worker.js
from speedtest.
@adolfintel Why do you divide the time by 2 anyway?
from speedtest.
Because of how HTTP works. When you make a XHR request, here's what typically happens:
- TCP connection is created (1 RTT)
- HTTP request is sent (0.5 RTT)
- HTTP response is received (0.5 RTT)
In total, that's 2 RTT, hence the /2.
The problem is if you're using a persistent HTTP connection because only the first request takes 2 RTT, then the next ones take only 1 RTT. This typically doesn't happen for XHR though.
from speedtest.
A good idea in theory, but not when your server sends a Connection: keep-alive
header:
I'd suggest making keep-alive
mandatory for the server setup and then just discarding the first ping result (the one that establishes the connection).
from speedtest.
You might also want to mention the limitations of the ping test more clearly: I came here after a hosting provider got called out for false advertising on a forum because the ping results from his speedtest page were half of what you would get from normal ping commands.
Disclaimer: I'm not that provider, just a curious bystander. ;)
from speedtest.
Related Issues (20)
- Requesting to remove "0ms.dev" from librespeed.org HOT 1
- Updated now not working properly
- Always Unknown ISP on standard ISP HOT 9
- Add TZ, PUID and PGID env variables HOT 1
- Docker documentation change - indicate urls for empty.php etc. must be prepended with 'backend/' when running in dual mode HOT 1
- IP reported as null when proxied through Apache HOT 12
- Multithreaded HOT 3
- No link Result in screen HOT 1
- Synology docker container: download speed is always 0 HOT 6
- Librespeed shows internal docker IP instead of public IP. HOT 3
- Sponsoring a server? for librespeed.org HOT 1
- JSP backend pages HOT 8
- low upload speeds on desktop
- Low Download Speed and HTML texts on the page. HOT 1
- Since I got no help on last ticket that's why I am writing new ticket
- version-based docker images no longer available
- ARM docker image in DockerHub release
- New server host in Australia
- Invalid username password variables with MSSQL not using Windows Authentication
- Expand docker support for MSSQL telemetry
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from speedtest.