* tool/hashbench1.rb: fix parameters.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41471 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
36bc412513
commit
800103e40a
@ -1,3 +1,7 @@
|
|||||||
|
Thu Jun 20 14:01:35 2013 Koichi Sasada <ko1@atdot.net>
|
||||||
|
|
||||||
|
* tool/hashbench1.rb: fix parameters.
|
||||||
|
|
||||||
Thu Jun 20 14:00:34 2013 Koichi Sasada <ko1@atdot.net>
|
Thu Jun 20 14:00:34 2013 Koichi Sasada <ko1@atdot.net>
|
||||||
|
|
||||||
* common.mk: remove dependency from ruby.
|
* common.mk: remove dependency from ruby.
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
value = 0.01
|
value = 0.01
|
||||||
h = {}
|
h = {}
|
||||||
n = 100_000
|
n = 50_000
|
||||||
|
|
||||||
1.upto(n){|i|
|
1.upto(n){|i|
|
||||||
h["%020d" % i] = value * i
|
h["%020d" % i] = "v-#{i}"
|
||||||
}
|
}
|
||||||
|
|
||||||
(n * 500).times{
|
(n * 500).times{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user