mirror of
https://github.com/caddyserver/caddy.git
synced 2024-12-23 22:27:38 -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)
|
||
|
}
|
||
|
}
|