Skip to content
This repository
Fetching contributors…

Cannot retrieve contributors at this time

file 12 lines (10 sloc) 0.269 kb
1 2 3 4 5 6 7 8 9 10 11 12
$:.unshift(File.dirname(__FILE__) + '/../lib')
require 'benchmark'
require 'rubygems'
require 'whois'

QUERIES = %w( 213.154.32.1 210.241.224.5 220.0.0.1 ) * 10

Benchmark.bmbm do |x|
  x.report("results") do
    QUERIES.each { |s| Whois::Server.guess(s) }
  end
end
Something went wrong with that request. Please try again.