2018-07-08 15:12:24 +00:00
|
|
|
prelude: |
|
2018-07-08 16:28:34 +00:00
|
|
|
50_000.times{|i| sym = "sym#{i}".to_sym}
|
|
|
|
GC.start
|
|
|
|
GC.start
|
2018-07-08 15:12:24 +00:00
|
|
|
benchmark:
|
2020-04-14 04:37:42 +00:00
|
|
|
vm_gc_short_with_symbol: |
|
2018-07-08 16:28:34 +00:00
|
|
|
a = '' # short-lived String
|
|
|
|
b = ''
|
|
|
|
c = ''
|
|
|
|
d = ''
|
|
|
|
e = ''
|
|
|
|
f = ''
|
|
|
|
loop_count: 30000000
|