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

14 lines
240 B
Go
Raw Normal View History

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