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