mirror of
https://github.com/caddyserver/caddy.git
synced 2024-12-16 21:56:40 -05: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)
|
||
|
}
|
||
|
}
|