summaryrefslogtreecommitdiff
path: root/jni/ruby/benchmark/bm_vm3_gc.rb
diff options
context:
space:
mode:
Diffstat (limited to 'jni/ruby/benchmark/bm_vm3_gc.rb')
-rwxr-xr-xjni/ruby/benchmark/bm_vm3_gc.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/jni/ruby/benchmark/bm_vm3_gc.rb b/jni/ruby/benchmark/bm_vm3_gc.rb
new file mode 100755
index 0000000..7db9829
--- /dev/null
+++ b/jni/ruby/benchmark/bm_vm3_gc.rb
@@ -0,0 +1,7 @@
+#! /usr/bin/ruby
+5000.times do
+ 100.times do
+ {"xxxx"=>"yyyy"}
+ end
+ GC.start
+end