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)) } }