Klimi's new dotfiles with stow.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

12 lines
204 B

# -*- mode: snippet -*-
# name: parallel_benchmark
# key: parbench
# contributor : @kostya-sh
# --
func Benchmark$1(b *testing.B) {
b.RunParallel(func(pb *testing.PB) {
for pb.Next() {
$0
}
})
}