aboutsummaryrefslogtreecommitdiff
path: root/template/ruby/base-bench.rb
diff options
context:
space:
mode:
Diffstat (limited to 'template/ruby/base-bench.rb')
-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