1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/benchmark/vm1_gc_short_with_symbol.yml

14 lines
225 B
YAML
Raw Normal View History

prelude: |
50_000.times{|i| sym = "sym#{i}".to_sym}
GC.start
GC.start
benchmark:
vm1_gc_short_with_symbol: |
a = '' # short-lived String
b = ''
c = ''
d = ''
e = ''
f = ''
loop_count: 30000000