Clownfish::ResponseTimes - psalaets/clownfish GitHub Wiki

Example

require 'clownfish'

fish = Clownfish::ResponseTimes.new

Anemone.crawl_with_clownfish(ARGV[0], fish)

fish.times_by_url.each do |url, ms|
  puts "#{ms} ms - #{url}"
end

Save in response_times.rb and run

ruby response_times.rb <starting url>