summaryrefslogtreecommitdiff
path: root/ruby_1_9_3/benchmark/bm_app_strconcat.rb
diff options
context:
space:
mode:
Diffstat (limited to 'ruby_1_9_3/benchmark/bm_app_strconcat.rb')
-rw-r--r--ruby_1_9_3/benchmark/bm_app_strconcat.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/ruby_1_9_3/benchmark/bm_app_strconcat.rb b/ruby_1_9_3/benchmark/bm_app_strconcat.rb
new file mode 100644
index 0000000000..7b2f2da5a7
--- /dev/null
+++ b/ruby_1_9_3/benchmark/bm_app_strconcat.rb
@@ -0,0 +1,5 @@
+i=0
+while i<2_000_000
+ "#{1+1} #{1+1} #{1+1}"
+ i+=1
+end