summaryrefslogtreecommitdiffstats
path: root/benchmark/bm_app_uri.rb
blob: 586edfd5dcab43bcbf34dc050a190899a67ce187 (plain)
1
2
3
4
5
6
7
8
require 'uri'

100_000.times{
  uri = URI.parse('http://www.ruby-lang.org')
  uri.scheme
  uri.host
  uri.port
}