dont care about padding for benchmark function

This commit is contained in:
Miek Gieben 2014-01-29 07:56:21 +00:00
parent 876680216e
commit dd35496669
2 changed files with 2 additions and 4 deletions

View File

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

View File

@ -65,8 +65,7 @@ func TestServing(t *testing.T) {
}
}
// Padded to fix alignment
func BenchmarkServe____(b *testing.B) {
func BenchmarkServe(b *testing.B) {
b.StopTimer()
HandleFunc("miek.nl.", HelloServer)
a := runtime.GOMAXPROCS(4)