summaryrefslogtreecommitdiff
path: root/benchmark/bm_vm3_gc_old_full.rb
diff options
context:
space:
mode:
Diffstat (limited to 'benchmark/bm_vm3_gc_old_full.rb')
-rw-r--r--benchmark/bm_vm3_gc_old_full.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/benchmark/bm_vm3_gc_old_full.rb b/benchmark/bm_vm3_gc_old_full.rb
new file mode 100644
index 0000000..cfdfc8c
--- /dev/null
+++ b/benchmark/bm_vm3_gc_old_full.rb
@@ -0,0 +1,4 @@
+old_object = Array.new(1_000_000){''}
+100.times do
+ GC.start
+end