summaryrefslogtreecommitdiff
path: root/benchmark/vm3_gc_old_immediate.rb
blob: ad22feb6556c8b2a181a30007047c9b077c5a49c (plain)
1
2
3
4
old_object = Array.new(1_000_000){''}
30_000.times do
  GC.start(full_mark: false, immediate_sweep: true)
end