mirror of
https://github.com/caddyserver/caddy.git
synced 2024-12-02 22:04:07 +08: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)
|
||
|
}
|
||
|
}
|