1
0
dwelling-files/pkg/files/files_test.go

14 lines
256 B
Go
Raw Normal View History

2023-09-20 04:56:08 +04:00
package files
import "testing"
const path = "/mnt/data/music/Various"
const urlBase = "/srv/ftp/"
func BenchmarkScanDirectory(b *testing.B) {
for i := 0; i < b.N; i++ {
/*e, _, _ :=*/ ScanDirectory(path, urlBase)
// b.Log(e[len(e)-1], len(e))
}
}