jekyll 大佬有话说 :
LibreSpeed测速是多线程吗?
测速都是30Mb以上,但浏览器里下载服务器上的文件只有几百KB啊。。。
gmm 大佬有话说 :
speed test is for testing the bandwidth of your server which usually would use the full capacity of speed testing server(that’s what a speed testing server is for), while the connect between your browser and your server would use a portion of the bandwidth depending on the connection iteself.
gmm 大佬有话说 :
gmm 大佬有话说 : 2020-4-7 17:03
speed test is for testing the bandwidth of your server which usually would use the full capacity of…
测速都会找网络最近的服务器因为要尽量跑满带宽, 而浏览器下载不一定跟你的服务器网络最近.
jekyll 大佬有话说 :
gmm 大佬有话说 : 2020-4-7 17:06
测速都会找网络最近的服务器因为要尽量跑满带宽, 而浏览器下载不一定跟你的服务器网络最近. …
感谢回复,不过我们说的是一个东西吗?
我说的是LibreSpeed
gmm 大佬有话说 :
jekyll 大佬有话说 : 2020-4-7 17:26
感谢回复,不过我们说的是一个东西吗?
我说的是LibreSpeed
这个真不好说了, 同一个站点, 用不同的 php 文件管理器, 下载速度差距100倍
看了下代码 https://github.com/librespeed/speedtest/blob/master/backend/garbage.php
// Generate data
$data=openssl_random_pseudo_bytes(1048576);
// Deliver chunks of 1048576 bytes
$chunks=isset($_GET[‘ckSize’]) ? intval($_GET[‘ckSize’]) : 4;
if(empty($chunks)){$chunks = 4;}
if($chunks>1024){$chunks = 1024;}
for($i=0;$i<$chunks;$i++){
echo $data;
flush();
}
你可以调整一下这个 chunk 值 来试试
reizhi 大佬有话说 :
是的,打开F12看network就知道了