Sha256: bcc96bcfe3c4f8af08017acadd59197a62da34af774dacede932460207998f88
Contents?: true
Size: 356 Bytes
Versions: 1
Compression:
Stored size: 356 Bytes
Contents
require 'anemone' require 'load_impact' urls = [] if ARGV[0] == 'crawl' Anemone.crawl(ARGV.last) do |anemone| anemone.on_every_page do |page| urls.push page.url.to_s end end urls.select! do |url| begin open url rescue OpenURI::HTTPError nil end end else urls = ARGV end puts LoadImpact.scenario_for urls
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
load_impact-0.0.3 | bin/load_impact_scenario |