diff options
Diffstat (limited to 'benchmark/bm_app_uri.rb')
-rw-r--r-- | benchmark/bm_app_uri.rb | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/benchmark/bm_app_uri.rb b/benchmark/bm_app_uri.rb index 49fe5a81a8..586edfd5dc 100644 --- a/benchmark/bm_app_uri.rb +++ b/benchmark/bm_app_uri.rb @@ -1,8 +1,8 @@ -require 'uri'
-
-100_000.times{
- uri = URI.parse('http://www.ruby-lang.org')
- uri.scheme
- uri.host
- uri.port
-}
+require 'uri' + +100_000.times{ + uri = URI.parse('http://www.ruby-lang.org') + uri.scheme + uri.host + uri.port +} |