html5_speedtest
html5_speedtest copied to clipboard
Improve perfomance at high speeds
As it was mentioned in previous issues, there's some ploblems when running test at 1Gbit lines. For example, I use data sizes 32, 64,128 Mbytes for test, and I get only 200Mbit/s download and same upload on local server. But in speedtest.net flash test I got 600/400 for non-local server, I think, the main problem is than there's one ajax request, and the whole data transmitted (received) in one request. I suggest:
- instead of transmitting all data, for example 32 Mbytes in 1 request, make 2 parallel request, each has 16 Mbytes, or 4 request, each has 8 Mbytes of data. Number of requests can variable, and can be changed in network.js. I think, 2 or more parrallel requeset will give more preformance.
This surely will help but I can't really mess with the JS library since i don't know very well ES6. Also, from what i can see, the library was designed not to use parallel streams as they will lower the calculation accuracy.