blob: c731aae5481833185507eb3e1edcc385ac1675ab (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
prelude: |
long_lived = Array.new(1_000_000){|i| "#{i}"}
GC.start
GC.start
benchmark:
vm1_gc_short_with_long: |
a = '' # short-lived String
b = ''
c = ''
d = ''
e = ''
f = ''
loop_count: 30000000
|