增加硬盘速度检测命令:edge-node disk speed

This commit is contained in:
GoEdgeLab
2023-07-26 11:22:15 +08:00
parent 3aa04d3046
commit 7893f1258b
4 changed files with 120 additions and 16 deletions

View File

@@ -0,0 +1,16 @@
// Copyright 2023 GoEdge CDN goedge.cdn@gmail.com. All rights reserved. Official site: https://goedge.cn .
package fsutils_test
import (
fsutils "github.com/TeaOSLab/EdgeNode/internal/utils/fs"
"testing"
)
func TestCheckDiskWritingSpeed(t *testing.T) {
t.Log(fsutils.CheckDiskWritingSpeed())
}
func TestCheckDiskIsFast(t *testing.T) {
t.Log(fsutils.CheckDiskIsFast())
}