aboutsummaryrefslogtreecommitdiff
path: root/template/go/base-test-bench.go
blob: cd8e9280e9d1f5d894d656dbd21bdfbb4a56b803 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
package {{_name_:main_test}}

import (
	"testing"
)

func BenchmarkSimple(b *testing.B) {
	b.ResetTimer()
	for i := 0; i < b.N; i++ {
		{{_cursor_}}
	}
}
{{_filter_:benchmark}}