Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: 9020593c80
Fetching contributors…

Cannot retrieve contributors at this time

20 lines (15 sloc) 0.257 kB
package uniq
import (
"testing"
)
func BenchmarkMutex(b *testing.B) {
for i := 0; i < b.N; i++ {
uniqFn()
}
}
func BenchmarkChannel(b *testing.B) {
for i := 0; i < b.N; i++ {
<-uniq
}
}
func TestFoo(t *testing.T) { }
Jump to Line
Something went wrong with that request. Please try again.