summaryrefslogtreecommitdiff
path: root/modules/caddyhttp/encode/encode_test.go
blob: 79eae3c560e047b192f2a5eebfc7b79ec4e96e16 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
package encode

import (
	"testing"
)

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