aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--tool/hashbench1.rb4
2 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 580440e619..cb3504f2e6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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>
* common.mk: remove dependency from ruby.
diff --git a/tool/hashbench1.rb b/tool/hashbench1.rb
index 3e8b0dd95e..c67420fcac 100644
--- a/tool/hashbench1.rb
+++ b/tool/hashbench1.rb
@@ -1,9 +1,9 @@
value = 0.01
h = {}
-n = 100_000
+n = 50_000
1.upto(n){|i|
- h["%020d" % i] = value * i
+ h["%020d" % i] = "v-#{i}"
}
(n * 500).times{