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