2023-09-15 04:19:28 +04:00
|
|
|
package radio
|
|
|
|
|
|
|
|
import "testing"
|
|
|
|
|
|
|
|
const playlistPath = "../../p.log"
|
|
|
|
|
|
|
|
func BenchmarkIcecastCurrentSong(b *testing.B) {
|
|
|
|
for i := 0; i < b.N; i++ {
|
2023-09-15 04:24:12 +04:00
|
|
|
/*s, err :=*/ icecastCurrentSong(playlistPath)
|
|
|
|
// b.Log(s, err)
|
2023-09-15 04:19:28 +04:00
|
|
|
}
|
|
|
|
}
|