diff options
Diffstat (limited to 'template/go/snip-benchmark-case.go')
-rw-r--r-- | template/go/snip-benchmark-case.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/template/go/snip-benchmark-case.go b/template/go/snip-benchmark-case.go new file mode 100644 index 0000000..da08f29 --- /dev/null +++ b/template/go/snip-benchmark-case.go @@ -0,0 +1,5 @@ +func Benchmark{{_cursor_}}(b *testing.B) { + b.ResetTimer() + for i := 0; i < b.N; i++ { + } +} |