about summary refs log tree commit homepage
path: root/t/sha1.ru
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2009-11-09 12:03:23 -0800
committerEric Wong <normalperson@yhbt.net>2009-11-09 12:03:23 -0800
commitb933b1607db5438e424b323c297b57c680587ed7 (patch)
tree2c714b22fe384ae7985d99af3e93c4073d517818 /t/sha1.ru
parentbf34080bf370807a2c16ba6efbfef1598fcb341d (diff)
downloadrainbows-b933b1607db5438e424b323c297b57c680587ed7.tar.gz
When reading 4K chunks, performance is dismal under 1.8
Diffstat (limited to 't/sha1.ru')
-rw-r--r--t/sha1.ru2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/sha1.ru b/t/sha1.ru
index 55e91ab..b523977 100644
--- a/t/sha1.ru
+++ b/t/sha1.ru
@@ -1,5 +1,5 @@
 # SHA1 checksum generator
-bs = ENV['bs'] ? ENV['bs'].to_i : 4096
+bs = ENV['bs'] ? ENV['bs'].to_i : 16384
 require 'digest/sha1'
 use Rack::ContentLength
 app = lambda do |env|