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.

10 lines
155 B

4 years ago
  1. # -*- mode: snippet -*-
  2. # name: benchmark
  3. # key: bench
  4. # contributor : @atotto
  5. # --
  6. func Benchmark$1(b *testing.B) {
  7. for i := 0; i < b.N; i++ {
  8. $0
  9. }
  10. }