1require 'uri' 2 3100_000.times{ 4 uri = URI.parse('http://www.ruby-lang.org') 5 uri.scheme 6 uri.host 7 uri.port 8} 9