YUKI Hiroshi
null+****@clear*****
Wed Oct 9 18:13:32 JST 2013
YUKI Hiroshi 2013-10-09 18:13:32 +0900 (Wed, 09 Oct 2013) New Revision: cf1369d7eefba91224095dc1d3b155cf8827b248 https://github.com/droonga/http-benchmark/commit/cf1369d7eefba91224095dc1d3b155cf8827b248 Message: Symbolize keys of loaded JSON Modified files: bin/http-benchmark Modified: bin/http-benchmark (+2 -1) =================================================================== --- bin/http-benchmark 2013-10-09 17:53:54 +0900 (58f4a35) +++ bin/http-benchmark 2013-10-09 18:13:32 +0900 (d74fd0f) @@ -72,7 +72,8 @@ if options[:request_patterns_file].nil? end request_patterns = File.read(options[:request_patterns_file]) -options[:request_patterns] = JSON.parse(request_patterns) +request_patterns = JSON.parse(request_patterns, :symbolize_names => true) +options[:request_patterns] = request_patterns runner = Droonga::HttpBenchmark::GradualRunner.new(options) runner.run -------------- next part -------------- HTML����������������������������... Download