Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Updated to use Bundler instead of Jeweler to manage installation of d…

…ependencies and push to Rubygems.org. Do 'bundle install' followed by 'rake -T'
  • Loading branch information...
commit 63b0e0f33709b2ec93f5acff87a362ee1c30c094 1 parent c1fb8b2
@grempe authored
View
3  .gitignore
@@ -6,3 +6,6 @@ doc
.yardoc
pkg
.idea
+.bundle
+.rvmrc
+perftools
View
3  ChangeLog
@@ -1,5 +1,8 @@
* (In progress) Close issue #22, allow detach_volume to take a boolean as a string or TrueClass FalseClass
+=== 0.9.17 2010-11-21
+ * Converted from Jeweler to Bundler, 'bundle install' to install dependencies
+
=== 0.9.16 2010-07-07
* Less strict checking on which server endpoints you can pass in as an environment var.
* Moved ec2sh script to awshell to better reflect the more comprehensive nature of the gem.
View
6 Gemfile
@@ -0,0 +1,6 @@
+source "http://rubygems.org"
+
+# Specify your gem's dependencies in amazon-ec2.gemspec
+gemspec
+
+
View
29 Gemfile.lock
@@ -0,0 +1,29 @@
+PATH
+ remote: .
+ specs:
+ amazon-ec2 (0.9.17)
+ xml-simple (>= 1.0.12)
+
+GEM
+ remote: http://rubygems.org/
+ specs:
+ mocha (0.9.9)
+ rake
+ perftools.rb (0.5.4)
+ rake (0.8.7)
+ rcov (0.9.9)
+ test-spec (0.10.0)
+ xml-simple (1.0.12)
+ yard (0.6.2)
+
+PLATFORMS
+ ruby
+
+DEPENDENCIES
+ amazon-ec2!
+ mocha (>= 0.9.9)
+ perftools.rb (>= 0.5.4)
+ rcov (>= 0.9.9)
+ test-spec (>= 0.10.0)
+ xml-simple (>= 1.0.12)
+ yard (>= 0.6.2)
View
11 README_dev.rdoc
@@ -1,11 +0,0 @@
-= Dev Docs
-
-Publishing the gem using Jeweler:
-
- rake version:bump:patch release
-
-Push the gem to gemcutter:
-
- rake build
- gem push pkg/amazon-ec2-X.Y.Z.gem
-
View
27 Rakefile
@@ -1,26 +1,5 @@
-require 'rubygems'
-require 'rake'
-
-begin
- require 'jeweler'
- Jeweler::Tasks.new do |gem|
- gem.name = "amazon-ec2"
- gem.summary = %Q{Amazon EC2 Ruby Gem}
- gem.description = %Q{A Ruby library for accessing the Amazon Web Services EC2, ELB, RDS, Cloudwatch, and Autoscaling APIs.}
- gem.email = "glenn@rempe.us"
- gem.homepage = "http://github.com/grempe/amazon-ec2"
- gem.authors = ["Glenn Rempe"]
- gem.rdoc_options = ["--title", "amazon-ec2 documentation", "--line-numbers", "--main", "README.rdoc"]
- gem.rubyforge_project = 'amazon-ec2'
- gem.add_dependency('xml-simple', '>= 1.0.12')
- gem.add_development_dependency('mocha', '>= 0.9.8')
- gem.add_development_dependency('test-spec', '>= 0.10.0')
- gem.add_development_dependency('rcov', '>= 0.9.6')
- gem.add_development_dependency('perftools.rb', '>= 0.3.9')
- end
-rescue LoadError
- puts "Jeweler (or a dependency) not available. Install it with: [sudo] gem install jeweler"
-end
+require 'bundler'
+Bundler::GemHelper.install_tasks
require 'rake/testtask'
Rake::TestTask.new(:test) do |test|
@@ -71,7 +50,7 @@ end
desc "Generate a perftools.rb profile"
task :profile do
- system("CPUPROFILE=perftools/ec2prof RUBYOPT='-r/Library/Ruby/Gems/1.8/gems/perftools.rb-0.3.2/lib/perftools.bundle' ruby -r'rubygems' bin/ec2-gem-profile.rb")
+ system("CPUPROFILE=perftools/ec2prof RUBYOPT='-r/Users/glenn/.rvm/gems/ruby-1.8.7-p302@amazon-ec2/gems/perftools.rb-0.5.4/lib/perftools.bundle' ruby -r'rubygems' bin/ec2-gem-profile.rb")
system("pprof.rb --text --ignore=Gem perftools/ec2prof > perftools/ec2prof-results.txt")
system("pprof.rb --dot --ignore=Gem perftools/ec2prof > perftools/ec2prof-results.dot")
end
View
165 amazon-ec2.gemspec
@@ -1,151 +1,36 @@
-# Generated by jeweler
-# DO NOT EDIT THIS FILE DIRECTLY
-# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
# -*- encoding: utf-8 -*-
+$:.push File.expand_path("../lib", __FILE__)
+require "AWS/version"
Gem::Specification.new do |s|
- s.name = %q{amazon-ec2}
- s.version = "0.9.15"
+ s.name = "amazon-ec2"
+ s.version = AWS::VERSION
+ s.platform = Gem::Platform::RUBY
+ s.authors = ["Glenn Rempe"]
+ s.email = ["glenn@rempe.us"]
+ s.homepage = "http://github.com/grempe/amazon-ec2"
+ s.summary = "Amazon EC2 Ruby gem"
+ s.description = "A Ruby library for accessing the Amazon Web Services EC2, ELB, RDS, Cloudwatch, and Autoscaling APIs."
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
- s.authors = ["Glenn Rempe"]
- s.date = %q{2010-06-10}
- s.description = %q{A Ruby library for accessing the Amazon Web Services EC2, ELB, RDS, Cloudwatch, and Autoscaling APIs.}
- s.email = %q{glenn@rempe.us}
- s.executables = ["ec2-gem-example.rb", "ec2-gem-profile.rb", "ec2sh", "setup.rb"]
+ s.rubyforge_project = "amazon-ec2"
+
+ s.rdoc_options = ["--title", "amazon-ec2 documentation", "--line-numbers", "--main", "README.rdoc"]
s.extra_rdoc_files = [
"ChangeLog",
- "LICENSE",
- "README.rdoc",
- "README_dev.rdoc"
- ]
- s.files = [
- ".gitignore",
- ".yardopts",
- "ChangeLog",
- "LICENSE",
- "README.rdoc",
- "README_dev.rdoc",
- "Rakefile",
- "VERSION",
- "amazon-ec2.gemspec",
- "bin/ec2-gem-example.rb",
- "bin/ec2-gem-profile.rb",
- "bin/ec2sh",
- "bin/setup.rb",
- "deps.rip",
- "lib/AWS.rb",
- "lib/AWS/Autoscaling.rb",
- "lib/AWS/Autoscaling/autoscaling.rb",
- "lib/AWS/Cloudwatch.rb",
- "lib/AWS/Cloudwatch/monitoring.rb",
- "lib/AWS/EC2.rb",
- "lib/AWS/EC2/availability_zones.rb",
- "lib/AWS/EC2/console.rb",
- "lib/AWS/EC2/devpay.rb",
- "lib/AWS/EC2/elastic_ips.rb",
- "lib/AWS/EC2/image_attributes.rb",
- "lib/AWS/EC2/images.rb",
- "lib/AWS/EC2/instances.rb",
- "lib/AWS/EC2/keypairs.rb",
- "lib/AWS/EC2/products.rb",
- "lib/AWS/EC2/security_groups.rb",
- "lib/AWS/EC2/snapshots.rb",
- "lib/AWS/EC2/spot_instance_requests.rb",
- "lib/AWS/EC2/spot_prices.rb",
- "lib/AWS/EC2/subnets.rb",
- "lib/AWS/EC2/volumes.rb",
- "lib/AWS/ELB.rb",
- "lib/AWS/ELB/load_balancers.rb",
- "lib/AWS/RDS.rb",
- "lib/AWS/RDS/rds.rb",
- "lib/AWS/exceptions.rb",
- "lib/AWS/responses.rb",
- "perftools/ec2prof",
- "perftools/ec2prof-results.dot",
- "perftools/ec2prof-results.txt",
- "perftools/ec2prof.symbols",
- "test/test_Autoscaling_groups.rb",
- "test/test_EC2.rb",
- "test/test_EC2_availability_zones.rb",
- "test/test_EC2_console.rb",
- "test/test_EC2_elastic_ips.rb",
- "test/test_EC2_image_attributes.rb",
- "test/test_EC2_images.rb",
- "test/test_EC2_instances.rb",
- "test/test_EC2_keypairs.rb",
- "test/test_EC2_products.rb",
- "test/test_EC2_responses.rb",
- "test/test_EC2_s3_xmlsimple.rb",
- "test/test_EC2_security_groups.rb",
- "test/test_EC2_snapshots.rb",
- "test/test_EC2_spot_instance_requests.rb",
- "test/test_EC2_spot_prices.rb",
- "test/test_EC2_subnets.rb",
- "test/test_EC2_volumes.rb",
- "test/test_ELB_load_balancers.rb",
- "test/test_RDS.rb",
- "test/test_helper.rb",
- "wsdl/2007-08-29.ec2.wsdl",
- "wsdl/2008-02-01.ec2.wsdl",
- "wsdl/2008-05-05.ec2.wsdl",
- "wsdl/2008-12-01.ec2.wsdl",
- "wsdl/2009-10-31.ec2.wsdl",
- "wsdl/2009-11-30.ec2.wsdl"
- ]
- s.homepage = %q{http://github.com/grempe/amazon-ec2}
- s.rdoc_options = ["--title", "amazon-ec2 documentation", "--line-numbers", "--main", "README.rdoc"]
- s.require_paths = ["lib"]
- s.rubyforge_project = %q{amazon-ec2}
- s.rubygems_version = %q{1.3.7}
- s.summary = %q{Amazon EC2 Ruby Gem}
- s.test_files = [
- "test/test_Autoscaling_groups.rb",
- "test/test_EC2.rb",
- "test/test_EC2_availability_zones.rb",
- "test/test_EC2_console.rb",
- "test/test_EC2_elastic_ips.rb",
- "test/test_EC2_image_attributes.rb",
- "test/test_EC2_images.rb",
- "test/test_EC2_instances.rb",
- "test/test_EC2_keypairs.rb",
- "test/test_EC2_products.rb",
- "test/test_EC2_responses.rb",
- "test/test_EC2_s3_xmlsimple.rb",
- "test/test_EC2_security_groups.rb",
- "test/test_EC2_snapshots.rb",
- "test/test_EC2_spot_instance_requests.rb",
- "test/test_EC2_spot_prices.rb",
- "test/test_EC2_subnets.rb",
- "test/test_EC2_volumes.rb",
- "test/test_ELB_load_balancers.rb",
- "test/test_helper.rb",
- "test/test_RDS.rb"
+ "LICENSE",
+ "README.rdoc"
]
- if s.respond_to? :specification_version then
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
- s.specification_version = 3
+ s.add_dependency('xml-simple', '>= 1.0.12')
+ s.add_development_dependency('mocha', '>= 0.9.9')
+ s.add_development_dependency('test-spec', '>= 0.10.0')
+ s.add_development_dependency('rcov', '>= 0.9.9')
+ s.add_development_dependency('perftools.rb', '>= 0.5.4')
+ s.add_development_dependency('yard', '>= 0.6.2')
- if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
- s.add_runtime_dependency(%q<xml-simple>, [">= 1.0.12"])
- s.add_development_dependency(%q<mocha>, [">= 0.9.8"])
- s.add_development_dependency(%q<test-spec>, [">= 0.10.0"])
- s.add_development_dependency(%q<rcov>, [">= 0.9.6"])
- s.add_development_dependency(%q<perftools.rb>, [">= 0.3.9"])
- else
- s.add_dependency(%q<xml-simple>, [">= 1.0.12"])
- s.add_dependency(%q<mocha>, [">= 0.9.8"])
- s.add_dependency(%q<test-spec>, [">= 0.10.0"])
- s.add_dependency(%q<rcov>, [">= 0.9.6"])
- s.add_dependency(%q<perftools.rb>, [">= 0.3.9"])
- end
- else
- s.add_dependency(%q<xml-simple>, [">= 1.0.12"])
- s.add_dependency(%q<mocha>, [">= 0.9.8"])
- s.add_dependency(%q<test-spec>, [">= 0.10.0"])
- s.add_dependency(%q<rcov>, [">= 0.9.6"])
- s.add_dependency(%q<perftools.rb>, [">= 0.3.9"])
- end
+ s.files = `git ls-files`.split("\n")
+ s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
+ s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
+ s.require_paths = ["lib"]
end
View
3  lib/AWS/version.rb
@@ -0,0 +1,3 @@
+module AWS
+ VERSION = "0.9.17"
+end
View
BIN  perftools/ec2prof
Binary file not shown
View
132 perftools/ec2prof-results.dot
@@ -1,132 +0,0 @@
-digraph "/usr/bin/ruby; 2043 samples" {
-node [width=0.375,height=0.25];
-Legend [shape=box,fontsize=24,shape=plaintext,label="/usr/bin/ruby\lTotal samples: 2043\lFocusing on: 2035\lDropped nodes with <= 10 abs(samples)\lDropped edges with <= 2 samples\l"];
-N1 [label="garbage_collector\n1298 (63.5%)\r",shape=box,fontsize=47.9];
-N2 [label="XmlSimple#xml_in\n0 (0.0%)\rof 507 (24.8%)\r",shape=box,fontsize=8.0];
-N3 [label="XmlSimple.xml_in\n0 (0.0%)\rof 469 (23.0%)\r",shape=box,fontsize=8.0];
-N4 [label="AWS\nResponse.parse\n0 (0.0%)\rof 442 (21.6%)\r",shape=box,fontsize=8.0];
-N5 [label="AWS\nBase#response_generator\n0 (0.0%)\rof 431 (21.1%)\r",shape=box,fontsize=8.0];
-N6 [label="AWS\nEC2\nBase#describe_images\n0 (0.0%)\rof 422 (20.7%)\r",shape=box,fontsize=8.0];
-N7 [label="Class#new\n142 (7.0%)\rof 371 (18.2%)\r",shape=box,fontsize=21.2];
-N8 [label="REXML\nDocument#build\n14 (0.7%)\rof 370 (18.1%)\r",shape=box,fontsize=12.1];
-N9 [label="REXML\nDocument#initialize\n0 (0.0%)\rof 370 (18.1%)\r",shape=box,fontsize=8.0];
-N10 [label="XmlSimple#parse\n0 (0.0%)\rof 370 (18.1%)\r",shape=box,fontsize=8.0];
-N11 [label="REXML\nParsers\nTreeParser#parse\n65 (3.2%)\rof 355 (17.4%)\r",shape=box,fontsize=16.9];
-N12 [label="REXML\nElement#each_element\n5 (0.2%)\rof 338 (16.5%)\r",shape=box,fontsize=10.5];
-N13 [label="REXML\nElements#each\n11 (0.5%)\rof 338 (16.5%)\r",shape=box,fontsize=11.7];
-N14 [label="REXML\nXPath.each\n4 (0.2%)\rof 338 (16.5%)\r",shape=box,fontsize=10.2];
-N15 [label="XmlSimple#collapse\n45 (2.2%)\rof 338 (16.5%)\r",shape=box,fontsize=15.4];
-N16 [label="REXML\nParsers\nBaseParser#pull\n14 (0.7%)\rof 107 (5.2%)\r",shape=box,fontsize=12.1];
-N17 [label="XmlSimple#collapse_text_node\n20 (1.0%)\rof 97 (4.7%)\r",shape=box,fontsize=13.0];
-N18 [label="REXML\nElement#add_element\n2 (0.1%)\rof 94 (4.6%)\r",shape=box,fontsize=9.6];
-N19 [label="REXML\nElements#add\n2 (0.1%)\rof 92 (4.5%)\r",shape=box,fontsize=9.6];
-N20 [label="REXML\nElement#initialize\n18 (0.9%)\rof 81 (4.0%)\r",shape=box,fontsize=12.7];
-N21 [label="XmlSimple#node_to_text\n6 (0.3%)\rof 76 (3.7%)\r",shape=box,fontsize=10.7];
-N22 [label="REXML\nText#value\n19 (0.9%)\rof 74 (3.6%)\r",shape=box,fontsize=12.8];
-N23 [label="REXML\nElement#has_elements?\n0 (0.0%)\rof 55 (2.7%)\r",shape=box,fontsize=8.0];
-N24 [label="REXML\nElement#has_text?\n3 (0.1%)\rof 55 (2.7%)\r",shape=box,fontsize=9.9];
-N25 [label="REXML\nElements#empty?\n2 (0.1%)\rof 55 (2.7%)\r",shape=box,fontsize=9.6];
-N26 [label="REXML\nChild#find\n50 (2.4%)\rof 54 (2.6%)\r",shape=box,fontsize=15.8];
-N27 [label="REXML\nElement#text\n5 (0.2%)\rof 52 (2.5%)\r",shape=box,fontsize=10.5];
-N28 [label="REXML\nElement#texts\n5 (0.2%)\rof 45 (2.2%)\r",shape=box,fontsize=10.5];
-N29 [label="REXML\nSource#match\n44 (2.2%)\r",shape=box,fontsize=15.4];
-N30 [label="REXML\nChild#find_all\n37 (1.8%)\rof 40 (2.0%)\r",shape=box,fontsize=14.7];
-N31 [label="Array#map\n2 (0.1%)\rof 36 (1.8%)\r",shape=box,fontsize=9.6];
-N32 [label="Array#each\n7 (0.3%)\rof 33 (1.6%)\r",shape=box,fontsize=10.9];
-N33 [label="REXML\nElement#document\n11 (0.5%)\rof 29 (1.4%)\r",shape=box,fontsize=11.7];
-N34 [label="XmlSimple#has_mixed_content?\n3 (0.1%)\rof 29 (1.4%)\r",shape=box,fontsize=9.9];
-N35 [label="REXML\nXPathParser#parse\n0 (0.0%)\rof 23 (1.1%)\r",shape=box,fontsize=8.0];
-N36 [label="REXML\nParent#initialize\n17 (0.8%)\rof 22 (1.1%)\r",shape=box,fontsize=12.6];
-N37 [label="Set#initialize\n2 (0.1%)\rof 22 (1.1%)\r",shape=box,fontsize=9.6];
-N38 [label="XmlSimple#merge\n13 (0.6%)\rof 21 (1.0%)\r",shape=box,fontsize=12.0];
-N39 [label="AWS\nBase#make_request\n0 (0.0%)\rof 20 (1.0%)\r",shape=box,fontsize=8.0];
-N40 [label="Net\nHTTP#request\n0 (0.0%)\rof 20 (1.0%)\r",shape=box,fontsize=8.0];
-N41 [label="Net\nHTTP#start\n0 (0.0%)\rof 20 (1.0%)\r",shape=box,fontsize=8.0];
-N42 [label="Net\nHTTPResponse#body\n0 (0.0%)\rof 20 (1.0%)\r",shape=box,fontsize=8.0];
-N43 [label="Net\nHTTPResponse#read_body\n0 (0.0%)\rof 20 (1.0%)\r",shape=box,fontsize=8.0];
-N44 [label="Net\nHTTPResponse#read_body_0\n0 (0.0%)\rof 20 (1.0%)\r",shape=box,fontsize=8.0];
-N45 [label="Net\nHTTPResponse#read_chunked\n0 (0.0%)\rof 20 (1.0%)\r",shape=box,fontsize=8.0];
-N46 [label="Net\nHTTPResponse#reading_body\n0 (0.0%)\rof 20 (1.0%)\r",shape=box,fontsize=8.0];
-N47 [label="Net\nBufferedIO#read\n5 (0.2%)\rof 19 (0.9%)\r",shape=box,fontsize=10.5];
-N48 [label="REXML\nText#initialize\n17 (0.8%)\rof 19 (0.9%)\r",shape=box,fontsize=12.6];
-N49 [label="REXML\nElement#root\n18 (0.9%)\r",shape=box,fontsize=12.7];
-N50 [label="REXML\nText.unnormalize\n16 (0.8%)\rof 18 (0.9%)\r",shape=box,fontsize=12.4];
-N51 [label="REXML\nParent#each\n2 (0.1%)\rof 16 (0.8%)\r",shape=box,fontsize=9.6];
-N52 [label="REXML\nParsers\nXPathParser#parse\n4 (0.2%)\rof 15 (0.7%)\r",shape=box,fontsize=10.2];
-N53 [label="Net\nBufferedIO#rbuf_fill\n13 (0.6%)\rof 14 (0.7%)\r",shape=box,fontsize=12.0];
-N54 [label="Object#timeout\n0 (0.0%)\rof 14 (0.7%)\r",shape=box,fontsize=8.0];
-N55 [label="Timeout.timeout\n1 (0.0%)\rof 14 (0.7%)\r",shape=box,fontsize=9.1];
-N56 [label="REXML\nParsers\nXPathParser#OrExpr\n2 (0.1%)\rof 11 (0.5%)\r",shape=box,fontsize=9.6];
-N22 -> N50 [label=18, weight=7, style="setlinewidth(0.053071)"];
-N13 -> N14 [label=911, weight=117, style="setlinewidth(2.000000)"];
-N20 -> N7 [label=32, weight=11, style="setlinewidth(0.094349)"];
-N21 -> N31 [label=36, weight=12, style="setlinewidth(0.106143)"];
-N14 -> N13 [label=904, weight=117, style="setlinewidth(2.000000)"];
-N7 -> N48 [label=19, weight=7, style="setlinewidth(0.056020)"];
-N22 -> N33 [label=29, weight=10, style="setlinewidth(0.085504)"];
-N44 -> N45 [label=20, weight=8, style="setlinewidth(0.058968)"];
-N51 -> N32 [label=14, weight=6, style="setlinewidth(0.041278)"];
-N16 -> N7 [label=43, weight=13, style="setlinewidth(0.126781)"];
-N20 -> N36 [label=22, weight=8, style="setlinewidth(0.064865)"];
-N7 -> N20 [label=81, weight=21, style="setlinewidth(0.238821)"];
-N34 -> N28 [label=7, weight=3, style="setlinewidth(0.020639)"];
-N15 -> N34 [label=29, weight=10, style="setlinewidth(0.085504)"];
-N16 -> N29 [label=44, weight=14, style="setlinewidth(0.129730)"];
-N27 -> N22 [label=44, weight=14, style="setlinewidth(0.129730)"];
-N32 -> N26 [label=7, weight=3, style="setlinewidth(0.020639)"];
-N25 -> N26 [label=54, weight=16, style="setlinewidth(0.159214)"];
-N15 -> N17 [label=97, weight=24, style="setlinewidth(0.285995)"];
-N26 -> N51 [label=10, weight=5, style="setlinewidth(0.029484)"];
-N4 -> N3 [label=442, weight=71, style="setlinewidth(1.303194)"];
-N54 -> N55 [label=14, weight=6, style="setlinewidth(0.041278)"];
-N15 -> N23 [label=46, weight=14, style="setlinewidth(0.135627)"];
-N45 -> N47 [label=19, weight=7, style="setlinewidth(0.056020)"];
-N9 -> N8 [label=370, weight=62, style="setlinewidth(1.090909)"];
-N7 -> N9 [label=370, weight=62, style="setlinewidth(1.090909)"];
-N37 -> N7 [label=20, weight=8, style="setlinewidth(0.058968)"];
-N55 -> N53 [label=13, weight=6, style="setlinewidth(0.038329)"];
-N24 -> N27 [label=52, weight=15, style="setlinewidth(0.153317)"];
-N11 -> N7 [label=77, weight=20, style="setlinewidth(0.227027)"];
-N40 -> N46 [label=20, weight=8, style="setlinewidth(0.058968)"];
-N21 -> N28 [label=38, weight=12, style="setlinewidth(0.112039)"];
-N43 -> N44 [label=20, weight=8, style="setlinewidth(0.058968)"];
-N5 -> N39 [label=20, weight=8, style="setlinewidth(0.058968)"];
-N13 -> N15 [label=922, weight=118, style="setlinewidth(2.000000)"];
-N10 -> N7 [label=370, weight=62, style="setlinewidth(1.090909)"];
-N5 -> N4 [label=411, weight=67, style="setlinewidth(1.211794)"];
-N15 -> N15 [label=892, weight=116, style="setlinewidth(2.000000)"];
-N15 -> N12 [label=801, weight=107, style="setlinewidth(2.000000)"];
-N17 -> N21 [label=76, weight=20, style="setlinewidth(0.224079)"];
-N14 -> N35 [label=23, weight=8, style="setlinewidth(0.067813)"];
-N30 -> N51 [label=6, weight=3, style="setlinewidth(0.017690)"];
-N52 -> N56 [label=11, weight=5, style="setlinewidth(0.032432)"];
-N39 -> N40 [label=20, weight=8, style="setlinewidth(0.058968)"];
-N8 -> N11 [label=355, weight=60, style="setlinewidth(1.046683)"];
-N2 -> N15 [label=137, weight=31, style="setlinewidth(0.403931)"];
-N34 -> N23 [label=9, weight=4, style="setlinewidth(0.026536)"];
-N39 -> N41 [label=20, weight=8, style="setlinewidth(0.058968)"];
-N12 -> N13 [label=857, weight=113, style="setlinewidth(2.000000)"];
-N11 -> N16 [label=107, weight=26, style="setlinewidth(0.315479)"];
-N2 -> N10 [label=370, weight=62, style="setlinewidth(1.090909)"];
-N19 -> N7 [label=91, weight=23, style="setlinewidth(0.268305)"];
-N34 -> N24 [label=9, weight=4, style="setlinewidth(0.026536)"];
-N15 -> N38 [label=21, weight=8, style="setlinewidth(0.061916)"];
-N21 -> N22 [label=30, weight=10, style="setlinewidth(0.088452)"];
-N53 -> N54 [label=14, weight=6, style="setlinewidth(0.041278)"];
-N46 -> N42 [label=20, weight=8, style="setlinewidth(0.058968)"];
-N31 -> N21 [label=34, weight=11, style="setlinewidth(0.100246)"];
-N41 -> N39 [label=20, weight=8, style="setlinewidth(0.058968)"];
-N23 -> N25 [label=55, weight=16, style="setlinewidth(0.162162)"];
-N7 -> N37 [label=22, weight=8, style="setlinewidth(0.064865)"];
-N3 -> N2 [label=469, weight=74, style="setlinewidth(1.382801)"];
-N35 -> N52 [label=15, weight=6, style="setlinewidth(0.044226)"];
-N47 -> N53 [label=14, weight=6, style="setlinewidth(0.041278)"];
-N6 -> N5 [label=422, weight=68, style="setlinewidth(1.244226)"];
-N32 -> N30 [label=3, weight=2, style="setlinewidth(0.008845)"];
-N42 -> N43 [label=20, weight=8, style="setlinewidth(0.058968)"];
-N33 -> N49 [label=18, weight=7, style="setlinewidth(0.053071)"];
-N11 -> N18 [label=94, weight=24, style="setlinewidth(0.277150)"];
-N28 -> N30 [label=40, weight=13, style="setlinewidth(0.117936)"];
-N18 -> N19 [label=92, weight=23, style="setlinewidth(0.271253)"];
-N15 -> N24 [label=46, weight=14, style="setlinewidth(0.135627)"];
-}
View
100 perftools/ec2prof-results.txt
@@ -1,100 +0,0 @@
-Total: 2043 samples
- 1298 63.5% 63.5% 1298 63.5% garbage_collector
- 142 7.0% 70.5% 371 18.2% Class#new
- 65 3.2% 73.7% 355 17.4% REXML::Parsers::TreeParser#parse
- 50 2.4% 76.1% 54 2.6% REXML::Child#find
- 45 2.2% 78.3% 338 16.5% XmlSimple#collapse
- 44 2.2% 80.5% 44 2.2% REXML::Source#match
- 37 1.8% 82.3% 40 2.0% REXML::Child#find_all
- 20 1.0% 83.3% 97 4.7% XmlSimple#collapse_text_node
- 19 0.9% 84.2% 74 3.6% REXML::Text#value
- 18 0.9% 85.1% 81 4.0% REXML::Element#initialize
- 18 0.9% 86.0% 18 0.9% REXML::Element#root
- 17 0.8% 86.8% 22 1.1% REXML::Parent#initialize
- 17 0.8% 87.6% 19 0.9% REXML::Text#initialize
- 16 0.8% 88.4% 18 0.9% REXML::Text.unnormalize
- 14 0.7% 89.1% 370 18.1% REXML::Document#build
- 14 0.7% 89.8% 107 5.2% REXML::Parsers::BaseParser#pull
- 13 0.6% 90.4% 14 0.7% Net::BufferedIO#rbuf_fill
- 13 0.6% 91.0% 21 1.0% XmlSimple#merge
- 11 0.5% 91.6% 29 1.4% REXML::Element#document
- 11 0.5% 92.1% 338 16.5% REXML::Elements#each
- 9 0.4% 92.6% 9 0.4% REXML::Parent#name=
- 8 0.4% 93.0% 8 0.4% REXML::Parent#add
- 8 0.4% 93.3% 8 0.4% XmlSimple#force_array?
- 7 0.3% 93.7% 33 1.6% Array#each
- 6 0.3% 94.0% 9 0.4% Kernel#gem_original_require
- 6 0.3% 94.3% 10 0.5% Object#find
- 6 0.3% 94.6% 76 3.7% XmlSimple#node_to_text
- 5 0.2% 94.8% 19 0.9% Net::BufferedIO#read
- 5 0.2% 95.1% 338 16.5% REXML::Element#each_element
- 5 0.2% 95.3% 52 2.5% REXML::Element#text
- 5 0.2% 95.5% 45 2.2% REXML::Element#texts
- 5 0.2% 95.8% 6 0.3% REXML::Parsers::BaseParser#empty?
- 4 0.2% 96.0% 4 0.2% Hash#[]
- 4 0.2% 96.2% 4 0.2% Object#clone
- 4 0.2% 96.4% 15 0.7% REXML::Parsers::XPathParser#parse
- 4 0.2% 96.6% 338 16.5% REXML::XPath.each
- 4 0.2% 96.8% 6 0.3% XmlSimple#get_attributes
- 3 0.1% 96.9% 6 0.3% Array#delete_if
- 3 0.1% 97.1% 3 0.1% Hash#each
- 3 0.1% 97.2% 55 2.7% REXML::Element#has_text?
- 3 0.1% 97.4% 7 0.3% REXML::XPathParser#expr
- 3 0.1% 97.5% 29 1.4% XmlSimple#has_mixed_content?
- 2 0.1% 97.6% 36 1.8% Array#map
- 2 0.1% 97.7% 9 0.4% Object#require
- 2 0.1% 97.8% 5 0.2% REXML::Child#initialize
- 2 0.1% 97.9% 8 0.4% REXML::Document#doctype
- 2 0.1% 98.0% 94 4.6% REXML::Element#add_element
- 2 0.1% 98.1% 3 0.1% REXML::Element#get_text
- 2 0.1% 98.2% 3 0.1% REXML::Element#whitespace
- 2 0.1% 98.3% 92 4.5% REXML::Elements#add
- 2 0.1% 98.4% 55 2.7% REXML::Elements#empty?
- 2 0.1% 98.5% 2 0.1% REXML::Parent#<<
- 2 0.1% 98.6% 16 0.8% REXML::Parent#each
- 2 0.1% 98.7% 9 0.4% REXML::Parsers::XPathParser#AdditiveExpr
- 2 0.1% 98.8% 2 0.1% REXML::Parsers::XPathParser#FilterExpr
- 2 0.1% 98.9% 7 0.3% REXML::Parsers::XPathParser#MultiplicativeExpr
- 2 0.1% 99.0% 11 0.5% REXML::Parsers::XPathParser#OrExpr
- 2 0.1% 99.1% 5 0.2% REXML::Parsers::XPathParser#UnionExpr
- 2 0.1% 99.2% 22 1.1% Set#initialize
- 1 0.0% 99.2% 1 0.0% Array#join
- 1 0.0% 99.3% 1 0.0% Net::BufferedIO#readline
- 1 0.0% 99.3% 1 0.0% REXML::Attributes#each_attribute
- 1 0.0% 99.4% 1 0.0% REXML::Parsers::XPathParser#RelativeLocationPath
- 1 0.0% 99.4% 1 0.0% REXML::Source#empty?
- 1 0.0% 99.5% 1 0.0% REXML::Source#initialize
- 1 0.0% 99.5% 8 0.4% REXML::XPathParser#match
- 1 0.0% 99.6% 1 0.0% REXML::XPathParser#variables=
- 1 0.0% 99.6% 14 0.7% Timeout.timeout
- 0 0.0% 99.6% 20 1.0% AWS::Base#make_request
- 0 0.0% 99.6% 431 21.1% AWS::Base#response_generator
- 0 0.0% 99.6% 422 20.7% AWS::EC2::Base#describe_images
- 0 0.0% 99.6% 442 21.6% AWS::Response.parse
- 0 0.0% 99.6% 20 1.0% Net::HTTP#request
- 0 0.0% 99.6% 20 1.0% Net::HTTP#start
- 0 0.0% 99.6% 20 1.0% Net::HTTPResponse#body
- 0 0.0% 99.6% 20 1.0% Net::HTTPResponse#read_body
- 0 0.0% 99.6% 20 1.0% Net::HTTPResponse#read_body_0
- 0 0.0% 99.6% 20 1.0% Net::HTTPResponse#read_chunked
- 0 0.0% 99.6% 20 1.0% Net::HTTPResponse#reading_body
- 0 0.0% 99.6% 14 0.7% Object#timeout
- 0 0.0% 99.6% 1 0.0% REXML::Attributes#each
- 0 0.0% 99.6% 370 18.1% REXML::Document#initialize
- 0 0.0% 99.6% 55 2.7% REXML::Element#has_elements?
- 0 0.0% 99.6% 1 0.0% REXML::Element#ignore_whitespace_nodes
- 0 0.0% 99.6% 1 0.0% REXML::Parsers::BaseParser#initialize
- 0 0.0% 99.6% 1 0.0% REXML::Parsers::BaseParser#stream=
- 0 0.0% 99.6% 1 0.0% REXML::Parsers::TreeParser#initialize
- 0 0.0% 99.6% 9 0.4% REXML::Parsers::XPathParser#AndExpr
- 0 0.0% 99.6% 9 0.4% REXML::Parsers::XPathParser#EqualityExpr
- 0 0.0% 99.6% 1 0.0% REXML::Parsers::XPathParser#LocationPath
- 0 0.0% 99.6% 3 0.1% REXML::Parsers::XPathParser#PathExpr
- 0 0.0% 99.6% 9 0.4% REXML::Parsers::XPathParser#RelationalExpr
- 0 0.0% 99.6% 5 0.2% REXML::Parsers::XPathParser#UnaryExpr
- 0 0.0% 99.6% 1 0.0% REXML::SourceFactory.create_from
- 0 0.0% 99.6% 23 1.1% REXML::XPathParser#parse
- 0 0.0% 99.6% 3 0.1% XmlSimple#fold_arrays
- 0 0.0% 99.6% 370 18.1% XmlSimple#parse
- 0 0.0% 99.6% 507 24.8% XmlSimple#xml_in
- 0 0.0% 99.6% 469 23.0% XmlSimple.xml_in
View
102 perftools/ec2prof.symbols
@@ -1,102 +0,0 @@
-0000000100037f3a: garbage_collector
-000000010016bbe9: Array#map
-0000000102818079: XmlSimple#node_to_text
-0000000102818051: XmlSimple#collapse_text_node
-0000000102817f99: XmlSimple#collapse
-00000001028f9eb1: REXML::Elements#each
-000000020521dbb1: REXML::XPath.each
-0000000102902299: REXML::Element#each_element
-000000010017a719: Class#new
-00000001028a2949: REXML::Parsers::TreeParser#parse
-00000001028a3f11: REXML::Document#build
-00000001028a0d39: REXML::Document#initialize
-0000000102810de1: XmlSimple#parse
-0000000102817f71: XmlSimple#xml_in
-0000000205025409: XmlSimple.xml_in
-0000000204f566d9: AWS::Response.parse
-00000001028123e1: AWS::Base#response_generator
-00000001027f30e1: AWS::EC2::Base#describe_images
-00000001029b0211: REXML::Child#find
-000000010016bcb9: Array#each
-00000001029c5ec1: REXML::Parent#each
-00000001028fa09f: REXML::Elements#empty?
-0000000102902277: REXML::Element#has_elements?
-00000001028a6b49: REXML::Document#doctype
-000000010016bb61: Object#find
-00000001029655e9: REXML::Text#value
-000000010017e629: Kernel#gem_original_require
-000000010017bf71: Object#require
-00000001029b0229: REXML::Child#find_all
-0000000102902361: REXML::Element#texts
-000000010281804f: XmlSimple#has_mixed_content?
-00000001029011e9: REXML::Attributes#each_attribute
-00000001028f8f39: REXML::Attributes#each
-0000000102818031: XmlSimple#get_attributes
-00000001028fa4c9: REXML::Elements#add
-0000000102902111: REXML::Element#add_element
-000000010290476d: REXML::Parsers::XPathParser#AdditiveExpr
-0000000102904765: REXML::Parsers::XPathParser#RelationalExpr
-000000010290475d: REXML::Parsers::XPathParser#EqualityExpr
-0000000102904755: REXML::Parsers::XPathParser#AndExpr
-00000001029046ed: REXML::Parsers::XPathParser#OrExpr
-00000001028fdc59: REXML::Parsers::XPathParser#parse
-00000001028fd169: REXML::XPathParser#parse
-00000001028aca99: Set#initialize
-00000001028b46c9: REXML::Parsers::BaseParser#pull
-00000001029be149: REXML::Child#initialize
-00000001029c5ab1: REXML::Parent#initialize
-00000001028f9b19: REXML::Element#initialize
-000000010016c759: Array#delete_if
-00000001029039c1: REXML::XPathParser#expr
-00000001028faf79: REXML::XPathParser#match
-00000002052d17d9: REXML::Text.unnormalize
-00000001028fc2e1: REXML::Element#text
-0000000102902297: REXML::Element#has_text?
-00000001029c506e: REXML::Parent#<<
-0000000102964c39: REXML::Text#initialize
-00000001029c64d9: REXML::Parent#add
-0000000102a143b9: Net::BufferedIO#read
-0000000102a15919: Net::HTTPResponse#read_chunked
-0000000102a15909: Net::HTTPResponse#read_body_0
-0000000102a15271: Net::HTTPResponse#read_body
-0000000102a12ad9: Net::HTTPResponse#body
-0000000102a15521: Net::HTTPResponse#reading_body
-0000000102a16b19: Net::HTTP#request
-0000000102811831: AWS::Base#make_request
-0000000102a125d9: Net::HTTP#start
-0000000102a14401: Net::BufferedIO#readline
-0000000102a1b031: Net::BufferedIO#rbuf_fill
-0000000203164251: Timeout.timeout
-000000010017ec59: Object#timeout
-00000001028abec7: REXML::Parsers::BaseParser#empty?
-0000000102904785: REXML::Parsers::XPathParser#UnionExpr
-000000010290477d: REXML::Parsers::XPathParser#UnaryExpr
-0000000102904775: REXML::Parsers::XPathParser#MultiplicativeExpr
-000000010037eed9: Gem::GemPathSearcher#matching_files
-000000010037f5cf: Gem::GemPathSearcher#matching_file?
-000000010037d021: Gem::GemPathSearcher#find
-000000010017a531: Object#clone
-00000001029022d1: REXML::Element#get_text
-00000001028180d7: XmlSimple#force_array?
-000000010280f5b1: XmlSimple#merge
-00000001001692bc: Hash#[]
-0000000102902219: REXML::Element#ignore_whitespace_nodes
-00000001029021f9: REXML::Element#whitespace
-000000010297920f: REXML::Source#empty?
-000000010290383c: REXML::XPathParser#variables=
-00000001028ff359: REXML::Element#document
-00000001028fde41: REXML::Element#root
-00000001028f9c34: REXML::Parent#name=
-0000000102979211: REXML::Source#match
-0000000102904795: REXML::Parsers::XPathParser#FilterExpr
-000000010290478d: REXML::Parsers::XPathParser#PathExpr
-000000010016a111: Hash#each
-0000000102818059: XmlSimple#fold_arrays
-000000010016c261: Array#join
-0000000102978c11: REXML::Source#initialize
-00000002052fa051: REXML::SourceFactory.create_from
-00000001028b4524: REXML::Parsers::BaseParser#stream=
-00000001028ab8c9: REXML::Parsers::BaseParser#initialize
-00000001028a0159: REXML::Parsers::TreeParser#initialize
-0000000102904715: REXML::Parsers::XPathParser#RelativeLocationPath
-000000010290470d: REXML::Parsers::XPathParser#LocationPath
Please sign in to comment.
Something went wrong with that request. Please try again.