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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
224 B
YAML
Raw Normal View History

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