13 lines
234 B
Plaintext
13 lines
234 B
Plaintext
|
<snippet>
|
||
|
<tabTrigger>bench</tabTrigger>
|
||
|
<scope>source.go</scope>
|
||
|
<description>Benchmark</description>
|
||
|
<content><![CDATA[
|
||
|
func Benchmark${1}(b *testing.B) {
|
||
|
for i := 0; i < b.N; i++ {
|
||
|
${2}
|
||
|
}
|
||
|
}
|
||
|
]]></content>
|
||
|
</snippet>
|