aboutsummaryrefslogtreecommitdiff
path: root/template
diff options
context:
space:
mode:
authoruji <ujiprog@gmail.com>2020-03-31 22:57:11 +0900
committeruji <ujiprog@gmail.com>2020-03-31 22:57:11 +0900
commit1f22ca03364adf3e8d11d63119368bb86a0d55d8 (patch)
tree6a0a0bf4a384e34d6435537585e50e3918e90581 /template
parent6f2435f77a58142e9e410f5e796f7eedb55e70ed (diff)
downloadvim-sonictemplate-1f22ca03364adf3e8d11d63119368bb86a0d55d8.tar.gz
vim-sonictemplate-1f22ca03364adf3e8d11d63119368bb86a0d55d8.tar.bz2
vim-sonictemplate-1f22ca03364adf3e8d11d63119368bb86a0d55d8.zip
Add template base-banch.rb
Diffstat (limited to 'template')
-rw-r--r--template/ruby/base-bench.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/template/ruby/base-bench.rb b/template/ruby/base-bench.rb
new file mode 100644
index 0000000..3e5f517
--- /dev/null
+++ b/template/ruby/base-bench.rb
@@ -0,0 +1,7 @@
+require 'benchmark'
+
+Benchmark.bm 10 do |r|
+ r.report "{{_input_:label}}" do
+ {{_cursor_}}
+ end
+end