mirror of
https://github.com/caddyserver/caddy.git
synced 2024-12-30 23:53:48 +03:00
13 lines
179 B
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)
|
||
|
}
|
||
|
}
|