13 lines
212 B
Go
13 lines
212 B
Go
|
package radio
|
||
|
|
||
|
import "testing"
|
||
|
|
||
|
const playlistPath = "../../p.log"
|
||
|
|
||
|
func BenchmarkIcecastCurrentSong(b *testing.B) {
|
||
|
for i := 0; i < b.N; i++ {
|
||
|
s, err := icecastCurrentSong(playlistPath)
|
||
|
b.Log(s, err)
|
||
|
}
|
||
|
}
|