parent
9ba617e870
commit
b8e6bd45be
|
@ -242,8 +242,7 @@ func TestMsgLenTest(t *testing.T) {
|
|||
}
|
||||
}
|
||||
|
||||
// Padded to fix alignment
|
||||
func BenchmarkMsgLen____(b *testing.B) {
|
||||
func BenchmarkMsgLen(b *testing.B) {
|
||||
b.StopTimer()
|
||||
makeMsg := func(question string, ans, ns, e []RR) *Msg {
|
||||
msg := new(Msg)
|
||||
|
|
|
@ -65,8 +65,7 @@ func TestServing(t *testing.T) {
|
|||
}
|
||||
}
|
||||
|
||||
// Padded to fix alignment
|
||||
func BenchmarkServe____(b *testing.B) {
|
||||
func BenchmarkServing(b *testing.B) {
|
||||
b.StopTimer()
|
||||
HandleFunc("miek.nl.", HelloServer)
|
||||
a := runtime.GOMAXPROCS(4)
|
||||
|
@ -93,7 +92,7 @@ func HelloServerCompress(w ResponseWriter, req *Msg) {
|
|||
w.WriteMsg(m)
|
||||
}
|
||||
|
||||
func BenchmarkServeCompress(b *testing.B) {
|
||||
func BenchmarkServingCompress(b *testing.B) {
|
||||
b.StopTimer()
|
||||
HandleFunc("miek.nl.", HelloServerCompress)
|
||||
a := runtime.GOMAXPROCS(4)
|
||||
|
|
Loading…
Reference in New Issue