summaryrefslogtreecommitdiff
path: root/jni/ruby/benchmark/other-lang/loop.rb
diff options
context:
space:
mode:
Diffstat (limited to 'jni/ruby/benchmark/other-lang/loop.rb')
-rw-r--r--jni/ruby/benchmark/other-lang/loop.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/jni/ruby/benchmark/other-lang/loop.rb b/jni/ruby/benchmark/other-lang/loop.rb
new file mode 100644
index 0000000..b367b9d
--- /dev/null
+++ b/jni/ruby/benchmark/other-lang/loop.rb
@@ -0,0 +1,4 @@
+i = 0
+while i<30000000
+ i += 1
+end