my-emacs-d/elpa/yasnippet-20160924.2001/snippets/ruby-mode/bench
2016-10-20 10:27:10 +02:00

11 lines
148 B
Plaintext

# -*- mode: snippet -*-
# name: bench
# key: bench
# --
require "benchmark"
TESTS = ${1:1_000}
Benchmark.bmbm do |x|
x.report("${2:var}") {}
end