summaryrefslogtreecommitdiff
path: root/lib/ffi_yajl/benchmark/http.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ffi_yajl/benchmark/http.rb')
-rw-r--r--lib/ffi_yajl/benchmark/http.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ffi_yajl/benchmark/http.rb b/lib/ffi_yajl/benchmark/http.rb
index 551c987..4c61df5 100644
--- a/lib/ffi_yajl/benchmark/http.rb
+++ b/lib/ffi_yajl/benchmark/http.rb
@@ -15,7 +15,7 @@ uri = URI.parse('http://search.twitter.com/search.json?q=github')
# uri = URI.parse('http://localhost/yajl-ruby.git/benchmark/subjects/contacts.json')
times = ARGV[0] ? ARGV[0].to_i : 1
-puts "Starting benchmark parsing #{uri.to_s} #{times} times\n\n"
+puts "Starting benchmark parsing #{uri} #{times} times\n\n"
Benchmark.bmbm { |x|
x.report {
puts "Yajl::HttpStream.get"
@@ -29,4 +29,4 @@ Benchmark.bmbm { |x|
JSON.parse(Net::HTTP.get_response(uri).body, :max_nesting => false)
}
}
-} \ No newline at end of file
+}