caddy/modules/caddyhttp/encode/encode_test.go

13 lines
179 B
Go

package encode
import (
"testing"
)
func BenchmarkOpenResponseWriter(b *testing.B) {
enc := new(Encode)
for n := 0; n < b.N; n++ {
enc.openResponseWriter("test", nil)
}
}