您好,欢迎光临本网站![请登录][注册会员]  

搜索资源列表

  1. 使用php测试硬盘写入速度示例

  2. 使用php写入一个1GB大小的文件,检查硬盘的写速率,可能有一定误差,一般电脑读写在20M/s,这个测试要执行大概40-50s
  3. 所属分类:其它

    • 发布日期:2020-10-26
    • 文件大小:20480
    • 提供者:weixin_38636577
  1. 使用php测试硬盘写入速度示例

  2. 复制代码 代码如下:<?phpset_time_limit(0);$str = str_pad($str, 512, “0”);$file = fopen(“./temp”,”a+”);$i = 0;$bytes = 1000000000;$mygabyte = $bytes/1000000;echo “test start. waiting …”;$starttime = time();while($i < $bytes){    $i += fwrite($file, $str)
  3. 所属分类:其它

    • 发布日期:2021-01-21
    • 文件大小:26624
    • 提供者:weixin_38530211