repo.or.cz
/
ruby.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[rubygems/rubygems] Use a constant empty tar header to avoid extra allocations
[ruby.git]
/
benchmark
/
vm_gc_short_with_symbol.yml
blob
129b8bf4ed2a17df5b1f6576f76ce1d31e7411f2
1
prelude: |
2
50_000.times{|i| sym = "sym#{i}".to_sym}
3
GC.start
4
GC.start
5
benchmark:
6
vm_gc_short_with_symbol: |
7
a = '' # short-lived String
8
b = ''
9
c = ''
10
d = ''
11
e = ''
12
f = ''
13
loop_count: 30000000