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
148 B

5 years ago
  1. # -*- mode: snippet -*-
  2. # name: bench
  3. # key: bench
  4. # --
  5. require "benchmark"
  6. TESTS = ${1:1_000}
  7. Benchmark.bmbm do |x|
  8. x.report("${2:var}") {}
  9. end