diff --git a/pkg/files/files_test.go b/pkg/files/files_test.go new file mode 100644 index 0000000..1a094dd --- /dev/null +++ b/pkg/files/files_test.go @@ -0,0 +1,13 @@ +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)) + } +}