2018-07-08 16:28:34 +00:00
|
|
|
prelude: |
|
|
|
|
long_lived = Array.new(1_000_000){|i| "#{i}"}
|
|
|
|
GC.start
|
|
|
|
GC.start
|
2018-07-08 15:12:24 +00:00
|
|
|
benchmark:
|
|
|
|
vm1_gc_short_with_long: |
|
2018-07-08 16:28:34 +00:00
|
|
|
a = '' # short-lived String
|
|
|
|
b = ''
|
|
|
|
c = ''
|
|
|
|
d = ''
|
|
|
|
e = ''
|
|
|
|
f = ''
|
|
|
|
loop_count: 30000000
|