mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
99b10ff471
* benchmark/gc/gcbench.rb: moved from tool/gcbench.rb. * benchmark/gc/hash(1|2).rb: ditto. * benchmark/gc/rdoc.rb: ditto. * benchmark/gc/null.rb: added. * common.mk: fix rule. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41473 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
11 lines
103 B
Ruby
11 lines
103 B
Ruby
value = 0.01
|
|
h = {}
|
|
n = 50_000
|
|
|
|
1.upto(n){|i|
|
|
h["%020d" % i] = "v-#{i}"
|
|
}
|
|
|
|
(n * 1_000).times{
|
|
''
|
|
}
|