amazon-ec2 0.6.0 → 0.6.1
Sign up to get free protection for your applications and to get access to all the features.
- data/ChangeLog +4 -0
- data/README.rdoc +28 -15
- data/README_dev.rdoc +7 -1
- data/Rakefile +1 -1
- data/VERSION +1 -1
- data/amazon-ec2.gemspec +2 -2
- data/bin/ec2-gem-example.rb +71 -0
- data/bin/ec2sh +1 -1
- data/bin/setup.rb +1 -0
- data/lib/AWS/Autoscaling/autoscaling.rb +2 -2
- data/perftools/ec2prof +0 -0
- data/perftools/ec2prof-results.dot +130 -191
- data/perftools/ec2prof-results.txt +100 -126
- data/perftools/ec2prof.symbols +102 -129
- metadata +2 -2
data/ChangeLog
CHANGED
@@ -1,3 +1,7 @@
|
|
1
|
+
=== 0.6.1 2009-10-13
|
2
|
+
* Additional commits for AutoScaling. Thanks to Ari (auser)!
|
3
|
+
* Updated README.rdoc installation instructions. Reflects removal of deprecated GitHub gem building.
|
4
|
+
|
1
5
|
=== 0.6.0 2009-09-30
|
2
6
|
* Added support for AWS AutoScaling for EC2. Thanks to Ari Lerner (auser)!
|
3
7
|
|
data/README.rdoc
CHANGED
@@ -10,7 +10,7 @@ For the most complete and up-to date README information please visit the project
|
|
10
10
|
|
11
11
|
http://github.com/grempe/amazon-ec2/tree/master
|
12
12
|
|
13
|
-
or the EC2 website at http://aws.amazon.com/ec2
|
13
|
+
or the official EC2 website at http://aws.amazon.com/ec2
|
14
14
|
|
15
15
|
|
16
16
|
== Installation
|
@@ -30,31 +30,44 @@ The following gems should be installed automatically as part of your install of
|
|
30
30
|
Rcov (optional for testing)
|
31
31
|
Test-Spec (optional for testing)
|
32
32
|
|
33
|
-
=== Install the amazon-ec2 gem
|
34
33
|
|
35
|
-
|
36
|
-
# Execute this on each machine where you install gems to add GitHub as a gem source
|
37
|
-
# Do this only once or you'll end up with multiple entries in 'gem sources'
|
38
|
-
gem sources -a http://gems.github.com/
|
34
|
+
=== Install the amazon-ec2 gem (Canonical Release)
|
39
35
|
|
40
|
-
|
36
|
+
This is the standard install for stable releases from Gemcutter.
|
37
|
+
|
38
|
+
# Install the stable release gem from Gemcutter (one time only) ( learn more here : http://gemcutter.org/pages/faq )
|
39
|
+
sudo gem install gemcutter
|
40
|
+
|
41
|
+
# Set Gemcutter to be your canonical gems source (one time only)
|
42
|
+
sudo gem tumble
|
43
|
+
|
44
|
+
# Install the gem
|
41
45
|
sudo gem install amazon-ec2
|
42
46
|
|
43
|
-
# OR
|
47
|
+
# OR if you want to skip the Gemcutter setup
|
48
|
+
sudo gem install amazon-ec2 -s http://gemcutter.org
|
49
|
+
|
44
50
|
|
45
|
-
|
46
|
-
sudo gem install grempe-amazon-ec2
|
51
|
+
=== Install from local Git clone (for amazon-ec2 developers)
|
47
52
|
|
48
|
-
|
53
|
+
GitHub has unfortunately given up on the feature they had where they would build gems
|
54
|
+
when pushed to git. Too bad. So to install from git, you'll need to clone and build.
|
49
55
|
|
50
|
-
|
51
|
-
|
56
|
+
git clone git://github.com/grempe/amazon-ec2.git
|
57
|
+
cd amazon-ec2
|
58
|
+
rake gemspec
|
59
|
+
rake build
|
60
|
+
rake install
|
52
61
|
|
53
|
-
# OR
|
54
62
|
|
55
|
-
|
63
|
+
=== EXPERIMENTAL : Install the amazon-ec2 gem using Rip (for more bleeding edge versions)
|
64
|
+
|
65
|
+
For those who intend to do development on the gem, or want the bleeding edge. Install Rip as described at hellorip.com.
|
66
|
+
|
67
|
+
# (Experimental) Install using Rip (hellorip.com) instead of RubyGems
|
56
68
|
rip install git://github.com/grempe/amazon-ec2.git
|
57
69
|
|
70
|
+
|
58
71
|
== Using amazon-ec2
|
59
72
|
|
60
73
|
The library exposes one main interface class AWS::EC2::Base. It is through an instance of this class that you will perform all the operations for using the EC2 service including query string header signing.
|
data/README_dev.rdoc
CHANGED
@@ -2,5 +2,11 @@
|
|
2
2
|
|
3
3
|
Publishing the gem using Jeweler:
|
4
4
|
|
5
|
-
rake version:bump:patch release
|
5
|
+
rake version:bump:patch release
|
6
|
+
|
7
|
+
rake rubyforge:release rubyforge:release:docs
|
8
|
+
|
9
|
+
Push the gem to gemcutter:
|
10
|
+
|
11
|
+
gem push pkg/amazon-ec2-X.Y.Z.gem
|
6
12
|
|
data/Rakefile
CHANGED
@@ -95,7 +95,7 @@ end
|
|
95
95
|
|
96
96
|
desc "Generate a perftools.rb profile"
|
97
97
|
task :profile do
|
98
|
-
system("CPUPROFILE=perftools/ec2prof RUBYOPT='-r/
|
98
|
+
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")
|
99
99
|
system("pprof.rb --text --ignore=Gem perftools/ec2prof > perftools/ec2prof-results.txt")
|
100
100
|
system("pprof.rb --dot --ignore=Gem perftools/ec2prof > perftools/ec2prof-results.dot")
|
101
101
|
end
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.6.
|
1
|
+
0.6.1
|
data/amazon-ec2.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{amazon-ec2}
|
8
|
-
s.version = "0.6.
|
8
|
+
s.version = "0.6.1"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Glenn Rempe"]
|
12
|
-
s.date = %q{2009-
|
12
|
+
s.date = %q{2009-10-13}
|
13
13
|
s.description = %q{A Ruby library for accessing the Amazon Web Services Elastic Compute Cloud (EC2), Elastic Load Balancer (ELB), Cloudwatch, and Autoscaling API's.}
|
14
14
|
s.email = %q{glenn@rempe.us}
|
15
15
|
s.executables = ["ec2-gem-example.rb", "ec2-gem-profile.rb", "ec2sh", "setup.rb"]
|
data/bin/ec2-gem-example.rb
CHANGED
@@ -64,3 +64,74 @@ pp ec2.delete_security_group(:group_name => "ec2-example-rb-test-group")
|
|
64
64
|
|
65
65
|
puts "----- listing my keypairs (verbose mode) -----"
|
66
66
|
pp ec2.describe_keypairs()
|
67
|
+
|
68
|
+
# ELB examples
|
69
|
+
# Autoscaling examples
|
70
|
+
if ENV['ELB_URL']
|
71
|
+
elb = AWS::ELB::Base.new( :access_key_id => ACCESS_KEY_ID, :secret_access_key => SECRET_ACCESS_KEY, :server => URI.parse(ENV['ELB_URL']).host )
|
72
|
+
else
|
73
|
+
elb = AWS::ELB::Base.new( :access_key_id => ACCESS_KEY_ID, :secret_access_key => SECRET_ACCESS_KEY)
|
74
|
+
end
|
75
|
+
|
76
|
+
puts "----- creating an elastic load balancer -----"
|
77
|
+
pp elb.create_load_balancer(
|
78
|
+
:availability_zones => ["us-east-1a"],
|
79
|
+
:load_balancer_name => "elb-test-load-balancer",
|
80
|
+
:listeners => [{:protocol => "tcp", :load_balancer_port => "80", :instance_port => "8080"}]
|
81
|
+
)
|
82
|
+
|
83
|
+
puts "----- listing elastic load balancers -----"
|
84
|
+
pp elb.describe_load_balancers(:load_balancer_names => ["elb-test-load-balancer"])
|
85
|
+
|
86
|
+
puts "----- deleting load balancer -----"
|
87
|
+
pp elb.delete_load_balancer(:load_balancer_name => "elb-test-load-balancer")
|
88
|
+
|
89
|
+
# Autoscaling examples
|
90
|
+
if ENV['AS_URL']
|
91
|
+
as = AWS::Autoscaling::Base.new( :access_key_id => ACCESS_KEY_ID, :secret_access_key => SECRET_ACCESS_KEY, :server => URI.parse(ENV['AS_URL']).host )
|
92
|
+
else
|
93
|
+
as = AWS::Autoscaling::Base.new( :access_key_id => ACCESS_KEY_ID, :secret_access_key => SECRET_ACCESS_KEY)
|
94
|
+
end
|
95
|
+
|
96
|
+
puts "---- creating a launch configuration group -----"
|
97
|
+
pp as.create_launch_configuration(
|
98
|
+
:image_id => "ami-ed46a784",
|
99
|
+
:instance_type => "m1.small",
|
100
|
+
:availability_zones => ["us-east-1a"],
|
101
|
+
:launch_configuration_name => "ec2-example-test-launch-configuration"
|
102
|
+
)
|
103
|
+
|
104
|
+
puts "---- creating an autoscaling group -----"
|
105
|
+
pp as.create_autoscaling_group( :autoscaling_group_name => "ec2-example-test-autoscaling-group",
|
106
|
+
:availability_zones => ["us-east-1a"],
|
107
|
+
:min_size => 0,
|
108
|
+
:max_size => 0,
|
109
|
+
:launch_configuration_name => "ec2-example-test-launch-configuration"
|
110
|
+
)
|
111
|
+
|
112
|
+
puts "---- listing autoscaling groups -----"
|
113
|
+
pp as.describe_autoscaling_groups(:autoscaling_group_names => [])
|
114
|
+
|
115
|
+
puts "---- creating a new autoscaling trigger ----"
|
116
|
+
pp as.create_or_updated_scaling_trigger(
|
117
|
+
:autoscaling_group_name => "ec2-example-test-autoscaling-group",
|
118
|
+
:measure_name => "CPUUtilization",
|
119
|
+
:statistic => "Average",
|
120
|
+
:period => 300,
|
121
|
+
:trigger_name => "test-auto-scaling-trigger-name",
|
122
|
+
:lower_threshold => 0.2,
|
123
|
+
:lower_breach_scale_increment => 0,
|
124
|
+
:upper_threshold => 1.5,
|
125
|
+
:upper_breach_scale_increment => 0,
|
126
|
+
:breach_duration => 1200,
|
127
|
+
:dimensions => ["AutoScalingGroupName", "ec2-example-test-autoscaling-group"]
|
128
|
+
)
|
129
|
+
|
130
|
+
puts "---- deleting scaling trigger -----"
|
131
|
+
pp as.delete_trigger(:trigger_name => "test-auto-scaling-trigger-name", :autoscaling_group_name => "ec2-example-test-autoscaling-group")
|
132
|
+
|
133
|
+
puts "---- deleting autoscaling group -----"
|
134
|
+
pp as.delete_autoscaling_group(:autoscaling_group_name => "ec2-example-test-autoscaling-group")
|
135
|
+
|
136
|
+
puts "---- deleting launch configuration group -----"
|
137
|
+
pp as.delete_launch_configuration(:launch_configuration_name => "ec2-example-test-launch-configuration")
|
data/bin/ec2sh
CHANGED
@@ -56,7 +56,7 @@ if ( ENV['AMAZON_ACCESS_KEY_ID'] && ENV['AMAZON_SECRET_ACCESS_KEY'] )
|
|
56
56
|
MESSAGE
|
57
57
|
|
58
58
|
puts welcome_message
|
59
|
-
exec "#{irb_name} -r #{aws_lib} -r #{setup} --simple-prompt"
|
59
|
+
exec "#{irb_name} -rubygems -r #{aws_lib} -r #{setup} --simple-prompt"
|
60
60
|
else
|
61
61
|
puts "You must define AMAZON_ACCESS_KEY_ID and AMAZON_SECRET_ACCESS_KEY as shell environment variables before running #{$0}!"
|
62
62
|
end
|
data/bin/setup.rb
CHANGED
@@ -95,9 +95,9 @@ module AWS
|
|
95
95
|
raise ArgumentError, "No :upper_threshold provided" if options[:upper_threshold].nil?
|
96
96
|
raise ArgumentError, "No :upper_breach_scale_increment provided" if options[:upper_breach_scale_increment].nil?
|
97
97
|
raise ArgumentError, "No :breach_duration provided" if options[:breach_duration].nil?
|
98
|
+
statistic_option_list = %w(minimum maximum average sum)
|
99
|
+
unless statistic_option_list.include?(options[:statistic].downcase)
|
98
100
|
|
99
|
-
statistic_option_list = %w(Minimum Maximum Average Sum)
|
100
|
-
unless statistic_option_list.include?(options[:statistic])
|
101
101
|
raise ArgumentError, "The statistic option must be one of the following: #{statistic_option_list.join(", ")}"
|
102
102
|
end
|
103
103
|
|
data/perftools/ec2prof
CHANGED
Binary file
|
@@ -1,193 +1,132 @@
|
|
1
|
-
digraph "/usr/
|
1
|
+
digraph "/usr/bin/ruby; 2043 samples" {
|
2
2
|
node [width=0.375,height=0.25];
|
3
|
-
Legend [shape=box,fontsize=24,shape=plaintext,label="/usr/
|
4
|
-
N1 [label="
|
5
|
-
N2 [label="XmlSimple
|
6
|
-
N3 [label="
|
7
|
-
N4 [label="
|
8
|
-
N5 [label="
|
9
|
-
N6 [label="
|
10
|
-
N7 [label="
|
11
|
-
N8 [label="
|
12
|
-
N9 [label="
|
13
|
-
N10 [label="
|
14
|
-
N11 [label="REXML\nParsers\nTreeParser#parse\
|
15
|
-
N12 [label="REXML\
|
16
|
-
N13 [label="
|
17
|
-
N14 [label="REXML\
|
18
|
-
N15 [label="
|
19
|
-
N16 [label="
|
20
|
-
N17 [label="
|
21
|
-
N18 [label="
|
22
|
-
N19 [label="
|
23
|
-
N20 [label="REXML\nElement#
|
24
|
-
N21 [label="
|
25
|
-
N22 [label="
|
26
|
-
N23 [label="REXML\
|
27
|
-
N24 [label="REXML\
|
28
|
-
N25 [label="REXML\
|
29
|
-
N26 [label="
|
30
|
-
N27 [label="
|
31
|
-
N28 [label="REXML\
|
32
|
-
N29 [label="REXML\
|
33
|
-
N30 [label="REXML\
|
34
|
-
N31 [label="
|
35
|
-
N32 [label="
|
36
|
-
N33 [label="REXML\nElement#
|
37
|
-
N34 [label="
|
38
|
-
N35 [label="REXML\
|
39
|
-
N36 [label="REXML\nParent#
|
40
|
-
N37 [label="
|
41
|
-
N38 [label="
|
42
|
-
N39 [label="
|
43
|
-
N40 [label="
|
44
|
-
N41 [label="
|
45
|
-
N42 [label="
|
46
|
-
N43 [label="
|
47
|
-
N44 [label="
|
48
|
-
N45 [label="
|
49
|
-
N46 [label="
|
50
|
-
N47 [label="
|
51
|
-
N48 [label="REXML\
|
52
|
-
N49 [label="REXML\
|
53
|
-
N50 [label="REXML\
|
54
|
-
N51 [label="REXML\nParent#
|
55
|
-
N52 [label="REXML\
|
56
|
-
N53 [label="
|
57
|
-
N54 [label="
|
58
|
-
N55 [label="
|
59
|
-
N56 [label="
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
N15 ->
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
N39 -> N41 [label=
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
N18 -> N27 [label=124, weight=29, style="setlinewidth(0.342857)"];
|
133
|
-
N65 -> N63 [label=32, weight=11, style="setlinewidth(0.088479)"];
|
134
|
-
N11 -> N80 [label=22, weight=8, style="setlinewidth(0.060829)"];
|
135
|
-
N33 -> N33 [label=77, weight=20, style="setlinewidth(0.212903)"];
|
136
|
-
N4 -> N5 [label=2408, weight=232, style="setlinewidth(2.000000)"];
|
137
|
-
N50 -> N18 [label=5, weight=3, style="setlinewidth(0.013825)"];
|
138
|
-
N13 -> N10 [label=801, weight=107, style="setlinewidth(2.000000)"];
|
139
|
-
N28 -> N27 [label=116, weight=27, style="setlinewidth(0.320737)"];
|
140
|
-
N8 -> N2 [label=934, weight=120, style="setlinewidth(2.000000)"];
|
141
|
-
N5 -> N5 [label=2446, weight=235, style="setlinewidth(2.000000)"];
|
142
|
-
N49 -> N53 [label=38, weight=12, style="setlinewidth(0.105069)"];
|
143
|
-
N5 -> N3 [label=2152, weight=215, style="setlinewidth(2.000000)"];
|
144
|
-
N10 -> N32 [label=3, weight=2, style="setlinewidth(0.008295)"];
|
145
|
-
N19 -> N22 [label=233, weight=45, style="setlinewidth(0.644240)"];
|
146
|
-
N42 -> N59 [label=34, weight=11, style="setlinewidth(0.094009)"];
|
147
|
-
N6 -> N38 [label=86, weight=22, style="setlinewidth(0.237788)"];
|
148
|
-
N54 -> N70 [label=30, weight=10, style="setlinewidth(0.082949)"];
|
149
|
-
N44 -> N45 [label=44, weight=14, style="setlinewidth(0.121659)"];
|
150
|
-
N34 -> N24 [label=93, weight=23, style="setlinewidth(0.257143)"];
|
151
|
-
N12 -> N11 [label=801, weight=107, style="setlinewidth(2.000000)"];
|
152
|
-
N1 -> N5 [label=312, weight=55, style="setlinewidth(0.862673)"];
|
153
|
-
N11 -> N78 [label=24, weight=9, style="setlinewidth(0.066359)"];
|
154
|
-
N31 -> N37 [label=11, weight=5, style="setlinewidth(0.030415)"];
|
155
|
-
N71 -> N75 [label=25, weight=9, style="setlinewidth(0.069124)"];
|
156
|
-
N3 -> N4 [label=2226, weight=220, style="setlinewidth(2.000000)"];
|
157
|
-
N11 -> N15 [label=462, weight=73, style="setlinewidth(1.277419)"];
|
158
|
-
N7 -> N57 [label=34, weight=11, style="setlinewidth(0.094009)"];
|
159
|
-
N38 -> N47 [label=42, weight=13, style="setlinewidth(0.116129)"];
|
160
|
-
N32 -> N10 [label=97, weight=24, style="setlinewidth(0.268203)"];
|
161
|
-
N1 -> N13 [label=801, weight=107, style="setlinewidth(2.000000)"];
|
162
|
-
N31 -> N20 [label=29, weight=10, style="setlinewidth(0.080184)"];
|
163
|
-
N5 -> N54 [label=37, weight=12, style="setlinewidth(0.102304)"];
|
164
|
-
N27 -> N48 [label=10, weight=5, style="setlinewidth(0.027650)"];
|
165
|
-
N22 -> N17 [label=131, weight=30, style="setlinewidth(0.362212)"];
|
166
|
-
N73 -> N74 [label=27, weight=10, style="setlinewidth(0.074654)"];
|
167
|
-
N45 -> N49 [label=41, weight=13, style="setlinewidth(0.113364)"];
|
168
|
-
N66 -> N68 [label=32, weight=11, style="setlinewidth(0.088479)"];
|
169
|
-
N26 -> N22 [label=152, weight=33, style="setlinewidth(0.420276)"];
|
170
|
-
N11 -> N36 [label=95, weight=24, style="setlinewidth(0.262673)"];
|
171
|
-
N37 -> N39 [label=83, weight=22, style="setlinewidth(0.229493)"];
|
172
|
-
N7 -> N8 [label=911, weight=117, style="setlinewidth(2.000000)"];
|
173
|
-
N60 -> N32 [label=28, weight=10, style="setlinewidth(0.077419)"];
|
174
|
-
N9 -> N7 [label=918, weight=118, style="setlinewidth(2.000000)"];
|
175
|
-
N18 -> N50 [label=5, weight=3, style="setlinewidth(0.013825)"];
|
176
|
-
N10 -> N43 [label=46, weight=14, style="setlinewidth(0.127189)"];
|
177
|
-
N38 -> N44 [label=44, weight=14, style="setlinewidth(0.121659)"];
|
178
|
-
N2 -> N1 [label=993, weight=125, style="setlinewidth(2.000000)"];
|
179
|
-
N51 -> N60 [label=33, weight=11, style="setlinewidth(0.091244)"];
|
180
|
-
N67 -> N73 [label=26, weight=9, style="setlinewidth(0.071889)"];
|
181
|
-
N18 -> N34 [label=79, weight=21, style="setlinewidth(0.218433)"];
|
182
|
-
N68 -> N65 [label=32, weight=11, style="setlinewidth(0.088479)"];
|
183
|
-
N29 -> N33 [label=102, weight=25, style="setlinewidth(0.282028)"];
|
184
|
-
N5 -> N42 [label=56, weight=16, style="setlinewidth(0.154839)"];
|
185
|
-
N6 -> N10 [label=3, weight=2, style="setlinewidth(0.008295)"];
|
186
|
-
N36 -> N76 [label=16, weight=6, style="setlinewidth(0.044240)"];
|
187
|
-
N11 -> N25 [label=153, weight=33, style="setlinewidth(0.423041)"];
|
188
|
-
N30 -> N34 [label=101, weight=25, style="setlinewidth(0.279263)"];
|
189
|
-
N25 -> N32 [label=104, weight=25, style="setlinewidth(0.287558)"];
|
190
|
-
N34 -> N30 [label=37, weight=12, style="setlinewidth(0.102304)"];
|
191
|
-
N19 -> N61 [label=14, weight=6, style="setlinewidth(0.038710)"];
|
192
|
-
N5 -> N20 [label=234, weight=45, style="setlinewidth(0.647005)"];
|
3
|
+
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"];
|
4
|
+
N1 [label="garbage_collector\n1298 (63.5%)\r",shape=box,fontsize=47.9];
|
5
|
+
N2 [label="XmlSimple#xml_in\n0 (0.0%)\rof 507 (24.8%)\r",shape=box,fontsize=8.0];
|
6
|
+
N3 [label="XmlSimple.xml_in\n0 (0.0%)\rof 469 (23.0%)\r",shape=box,fontsize=8.0];
|
7
|
+
N4 [label="AWS\nResponse.parse\n0 (0.0%)\rof 442 (21.6%)\r",shape=box,fontsize=8.0];
|
8
|
+
N5 [label="AWS\nBase#response_generator\n0 (0.0%)\rof 431 (21.1%)\r",shape=box,fontsize=8.0];
|
9
|
+
N6 [label="AWS\nEC2\nBase#describe_images\n0 (0.0%)\rof 422 (20.7%)\r",shape=box,fontsize=8.0];
|
10
|
+
N7 [label="Class#new\n142 (7.0%)\rof 371 (18.2%)\r",shape=box,fontsize=21.2];
|
11
|
+
N8 [label="REXML\nDocument#build\n14 (0.7%)\rof 370 (18.1%)\r",shape=box,fontsize=12.1];
|
12
|
+
N9 [label="REXML\nDocument#initialize\n0 (0.0%)\rof 370 (18.1%)\r",shape=box,fontsize=8.0];
|
13
|
+
N10 [label="XmlSimple#parse\n0 (0.0%)\rof 370 (18.1%)\r",shape=box,fontsize=8.0];
|
14
|
+
N11 [label="REXML\nParsers\nTreeParser#parse\n65 (3.2%)\rof 355 (17.4%)\r",shape=box,fontsize=16.9];
|
15
|
+
N12 [label="REXML\nElement#each_element\n5 (0.2%)\rof 338 (16.5%)\r",shape=box,fontsize=10.5];
|
16
|
+
N13 [label="REXML\nElements#each\n11 (0.5%)\rof 338 (16.5%)\r",shape=box,fontsize=11.7];
|
17
|
+
N14 [label="REXML\nXPath.each\n4 (0.2%)\rof 338 (16.5%)\r",shape=box,fontsize=10.2];
|
18
|
+
N15 [label="XmlSimple#collapse\n45 (2.2%)\rof 338 (16.5%)\r",shape=box,fontsize=15.4];
|
19
|
+
N16 [label="REXML\nParsers\nBaseParser#pull\n14 (0.7%)\rof 107 (5.2%)\r",shape=box,fontsize=12.1];
|
20
|
+
N17 [label="XmlSimple#collapse_text_node\n20 (1.0%)\rof 97 (4.7%)\r",shape=box,fontsize=13.0];
|
21
|
+
N18 [label="REXML\nElement#add_element\n2 (0.1%)\rof 94 (4.6%)\r",shape=box,fontsize=9.6];
|
22
|
+
N19 [label="REXML\nElements#add\n2 (0.1%)\rof 92 (4.5%)\r",shape=box,fontsize=9.6];
|
23
|
+
N20 [label="REXML\nElement#initialize\n18 (0.9%)\rof 81 (4.0%)\r",shape=box,fontsize=12.7];
|
24
|
+
N21 [label="XmlSimple#node_to_text\n6 (0.3%)\rof 76 (3.7%)\r",shape=box,fontsize=10.7];
|
25
|
+
N22 [label="REXML\nText#value\n19 (0.9%)\rof 74 (3.6%)\r",shape=box,fontsize=12.8];
|
26
|
+
N23 [label="REXML\nElement#has_elements?\n0 (0.0%)\rof 55 (2.7%)\r",shape=box,fontsize=8.0];
|
27
|
+
N24 [label="REXML\nElement#has_text?\n3 (0.1%)\rof 55 (2.7%)\r",shape=box,fontsize=9.9];
|
28
|
+
N25 [label="REXML\nElements#empty?\n2 (0.1%)\rof 55 (2.7%)\r",shape=box,fontsize=9.6];
|
29
|
+
N26 [label="REXML\nChild#find\n50 (2.4%)\rof 54 (2.6%)\r",shape=box,fontsize=15.8];
|
30
|
+
N27 [label="REXML\nElement#text\n5 (0.2%)\rof 52 (2.5%)\r",shape=box,fontsize=10.5];
|
31
|
+
N28 [label="REXML\nElement#texts\n5 (0.2%)\rof 45 (2.2%)\r",shape=box,fontsize=10.5];
|
32
|
+
N29 [label="REXML\nSource#match\n44 (2.2%)\r",shape=box,fontsize=15.4];
|
33
|
+
N30 [label="REXML\nChild#find_all\n37 (1.8%)\rof 40 (2.0%)\r",shape=box,fontsize=14.7];
|
34
|
+
N31 [label="Array#map\n2 (0.1%)\rof 36 (1.8%)\r",shape=box,fontsize=9.6];
|
35
|
+
N32 [label="Array#each\n7 (0.3%)\rof 33 (1.6%)\r",shape=box,fontsize=10.9];
|
36
|
+
N33 [label="REXML\nElement#document\n11 (0.5%)\rof 29 (1.4%)\r",shape=box,fontsize=11.7];
|
37
|
+
N34 [label="XmlSimple#has_mixed_content?\n3 (0.1%)\rof 29 (1.4%)\r",shape=box,fontsize=9.9];
|
38
|
+
N35 [label="REXML\nXPathParser#parse\n0 (0.0%)\rof 23 (1.1%)\r",shape=box,fontsize=8.0];
|
39
|
+
N36 [label="REXML\nParent#initialize\n17 (0.8%)\rof 22 (1.1%)\r",shape=box,fontsize=12.6];
|
40
|
+
N37 [label="Set#initialize\n2 (0.1%)\rof 22 (1.1%)\r",shape=box,fontsize=9.6];
|
41
|
+
N38 [label="XmlSimple#merge\n13 (0.6%)\rof 21 (1.0%)\r",shape=box,fontsize=12.0];
|
42
|
+
N39 [label="AWS\nBase#make_request\n0 (0.0%)\rof 20 (1.0%)\r",shape=box,fontsize=8.0];
|
43
|
+
N40 [label="Net\nHTTP#request\n0 (0.0%)\rof 20 (1.0%)\r",shape=box,fontsize=8.0];
|
44
|
+
N41 [label="Net\nHTTP#start\n0 (0.0%)\rof 20 (1.0%)\r",shape=box,fontsize=8.0];
|
45
|
+
N42 [label="Net\nHTTPResponse#body\n0 (0.0%)\rof 20 (1.0%)\r",shape=box,fontsize=8.0];
|
46
|
+
N43 [label="Net\nHTTPResponse#read_body\n0 (0.0%)\rof 20 (1.0%)\r",shape=box,fontsize=8.0];
|
47
|
+
N44 [label="Net\nHTTPResponse#read_body_0\n0 (0.0%)\rof 20 (1.0%)\r",shape=box,fontsize=8.0];
|
48
|
+
N45 [label="Net\nHTTPResponse#read_chunked\n0 (0.0%)\rof 20 (1.0%)\r",shape=box,fontsize=8.0];
|
49
|
+
N46 [label="Net\nHTTPResponse#reading_body\n0 (0.0%)\rof 20 (1.0%)\r",shape=box,fontsize=8.0];
|
50
|
+
N47 [label="Net\nBufferedIO#read\n5 (0.2%)\rof 19 (0.9%)\r",shape=box,fontsize=10.5];
|
51
|
+
N48 [label="REXML\nText#initialize\n17 (0.8%)\rof 19 (0.9%)\r",shape=box,fontsize=12.6];
|
52
|
+
N49 [label="REXML\nElement#root\n18 (0.9%)\r",shape=box,fontsize=12.7];
|
53
|
+
N50 [label="REXML\nText.unnormalize\n16 (0.8%)\rof 18 (0.9%)\r",shape=box,fontsize=12.4];
|
54
|
+
N51 [label="REXML\nParent#each\n2 (0.1%)\rof 16 (0.8%)\r",shape=box,fontsize=9.6];
|
55
|
+
N52 [label="REXML\nParsers\nXPathParser#parse\n4 (0.2%)\rof 15 (0.7%)\r",shape=box,fontsize=10.2];
|
56
|
+
N53 [label="Net\nBufferedIO#rbuf_fill\n13 (0.6%)\rof 14 (0.7%)\r",shape=box,fontsize=12.0];
|
57
|
+
N54 [label="Object#timeout\n0 (0.0%)\rof 14 (0.7%)\r",shape=box,fontsize=8.0];
|
58
|
+
N55 [label="Timeout.timeout\n1 (0.0%)\rof 14 (0.7%)\r",shape=box,fontsize=9.1];
|
59
|
+
N56 [label="REXML\nParsers\nXPathParser#OrExpr\n2 (0.1%)\rof 11 (0.5%)\r",shape=box,fontsize=9.6];
|
60
|
+
N22 -> N50 [label=18, weight=7, style="setlinewidth(0.053071)"];
|
61
|
+
N13 -> N14 [label=911, weight=117, style="setlinewidth(2.000000)"];
|
62
|
+
N20 -> N7 [label=32, weight=11, style="setlinewidth(0.094349)"];
|
63
|
+
N21 -> N31 [label=36, weight=12, style="setlinewidth(0.106143)"];
|
64
|
+
N14 -> N13 [label=904, weight=117, style="setlinewidth(2.000000)"];
|
65
|
+
N7 -> N48 [label=19, weight=7, style="setlinewidth(0.056020)"];
|
66
|
+
N22 -> N33 [label=29, weight=10, style="setlinewidth(0.085504)"];
|
67
|
+
N44 -> N45 [label=20, weight=8, style="setlinewidth(0.058968)"];
|
68
|
+
N51 -> N32 [label=14, weight=6, style="setlinewidth(0.041278)"];
|
69
|
+
N16 -> N7 [label=43, weight=13, style="setlinewidth(0.126781)"];
|
70
|
+
N20 -> N36 [label=22, weight=8, style="setlinewidth(0.064865)"];
|
71
|
+
N7 -> N20 [label=81, weight=21, style="setlinewidth(0.238821)"];
|
72
|
+
N34 -> N28 [label=7, weight=3, style="setlinewidth(0.020639)"];
|
73
|
+
N15 -> N34 [label=29, weight=10, style="setlinewidth(0.085504)"];
|
74
|
+
N16 -> N29 [label=44, weight=14, style="setlinewidth(0.129730)"];
|
75
|
+
N27 -> N22 [label=44, weight=14, style="setlinewidth(0.129730)"];
|
76
|
+
N32 -> N26 [label=7, weight=3, style="setlinewidth(0.020639)"];
|
77
|
+
N25 -> N26 [label=54, weight=16, style="setlinewidth(0.159214)"];
|
78
|
+
N15 -> N17 [label=97, weight=24, style="setlinewidth(0.285995)"];
|
79
|
+
N26 -> N51 [label=10, weight=5, style="setlinewidth(0.029484)"];
|
80
|
+
N4 -> N3 [label=442, weight=71, style="setlinewidth(1.303194)"];
|
81
|
+
N54 -> N55 [label=14, weight=6, style="setlinewidth(0.041278)"];
|
82
|
+
N15 -> N23 [label=46, weight=14, style="setlinewidth(0.135627)"];
|
83
|
+
N45 -> N47 [label=19, weight=7, style="setlinewidth(0.056020)"];
|
84
|
+
N9 -> N8 [label=370, weight=62, style="setlinewidth(1.090909)"];
|
85
|
+
N7 -> N9 [label=370, weight=62, style="setlinewidth(1.090909)"];
|
86
|
+
N37 -> N7 [label=20, weight=8, style="setlinewidth(0.058968)"];
|
87
|
+
N55 -> N53 [label=13, weight=6, style="setlinewidth(0.038329)"];
|
88
|
+
N24 -> N27 [label=52, weight=15, style="setlinewidth(0.153317)"];
|
89
|
+
N11 -> N7 [label=77, weight=20, style="setlinewidth(0.227027)"];
|
90
|
+
N40 -> N46 [label=20, weight=8, style="setlinewidth(0.058968)"];
|
91
|
+
N21 -> N28 [label=38, weight=12, style="setlinewidth(0.112039)"];
|
92
|
+
N43 -> N44 [label=20, weight=8, style="setlinewidth(0.058968)"];
|
93
|
+
N5 -> N39 [label=20, weight=8, style="setlinewidth(0.058968)"];
|
94
|
+
N13 -> N15 [label=922, weight=118, style="setlinewidth(2.000000)"];
|
95
|
+
N10 -> N7 [label=370, weight=62, style="setlinewidth(1.090909)"];
|
96
|
+
N5 -> N4 [label=411, weight=67, style="setlinewidth(1.211794)"];
|
97
|
+
N15 -> N15 [label=892, weight=116, style="setlinewidth(2.000000)"];
|
98
|
+
N15 -> N12 [label=801, weight=107, style="setlinewidth(2.000000)"];
|
99
|
+
N17 -> N21 [label=76, weight=20, style="setlinewidth(0.224079)"];
|
100
|
+
N14 -> N35 [label=23, weight=8, style="setlinewidth(0.067813)"];
|
101
|
+
N30 -> N51 [label=6, weight=3, style="setlinewidth(0.017690)"];
|
102
|
+
N52 -> N56 [label=11, weight=5, style="setlinewidth(0.032432)"];
|
103
|
+
N39 -> N40 [label=20, weight=8, style="setlinewidth(0.058968)"];
|
104
|
+
N8 -> N11 [label=355, weight=60, style="setlinewidth(1.046683)"];
|
105
|
+
N2 -> N15 [label=137, weight=31, style="setlinewidth(0.403931)"];
|
106
|
+
N34 -> N23 [label=9, weight=4, style="setlinewidth(0.026536)"];
|
107
|
+
N39 -> N41 [label=20, weight=8, style="setlinewidth(0.058968)"];
|
108
|
+
N12 -> N13 [label=857, weight=113, style="setlinewidth(2.000000)"];
|
109
|
+
N11 -> N16 [label=107, weight=26, style="setlinewidth(0.315479)"];
|
110
|
+
N2 -> N10 [label=370, weight=62, style="setlinewidth(1.090909)"];
|
111
|
+
N19 -> N7 [label=91, weight=23, style="setlinewidth(0.268305)"];
|
112
|
+
N34 -> N24 [label=9, weight=4, style="setlinewidth(0.026536)"];
|
113
|
+
N15 -> N38 [label=21, weight=8, style="setlinewidth(0.061916)"];
|
114
|
+
N21 -> N22 [label=30, weight=10, style="setlinewidth(0.088452)"];
|
115
|
+
N53 -> N54 [label=14, weight=6, style="setlinewidth(0.041278)"];
|
116
|
+
N46 -> N42 [label=20, weight=8, style="setlinewidth(0.058968)"];
|
117
|
+
N31 -> N21 [label=34, weight=11, style="setlinewidth(0.100246)"];
|
118
|
+
N41 -> N39 [label=20, weight=8, style="setlinewidth(0.058968)"];
|
119
|
+
N23 -> N25 [label=55, weight=16, style="setlinewidth(0.162162)"];
|
120
|
+
N7 -> N37 [label=22, weight=8, style="setlinewidth(0.064865)"];
|
121
|
+
N3 -> N2 [label=469, weight=74, style="setlinewidth(1.382801)"];
|
122
|
+
N35 -> N52 [label=15, weight=6, style="setlinewidth(0.044226)"];
|
123
|
+
N47 -> N53 [label=14, weight=6, style="setlinewidth(0.041278)"];
|
124
|
+
N6 -> N5 [label=422, weight=68, style="setlinewidth(1.244226)"];
|
125
|
+
N32 -> N30 [label=3, weight=2, style="setlinewidth(0.008845)"];
|
126
|
+
N42 -> N43 [label=20, weight=8, style="setlinewidth(0.058968)"];
|
127
|
+
N33 -> N49 [label=18, weight=7, style="setlinewidth(0.053071)"];
|
128
|
+
N11 -> N18 [label=94, weight=24, style="setlinewidth(0.277150)"];
|
129
|
+
N28 -> N30 [label=40, weight=13, style="setlinewidth(0.117936)"];
|
130
|
+
N18 -> N19 [label=92, weight=23, style="setlinewidth(0.271253)"];
|
131
|
+
N15 -> N24 [label=46, weight=14, style="setlinewidth(0.135627)"];
|
193
132
|
}
|
@@ -1,126 +1,100 @@
|
|
1
|
-
Total:
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
0 0.0% 99.6%
|
98
|
-
0 0.0% 99.6%
|
99
|
-
0 0.0% 99.6%
|
100
|
-
0 0.0% 99.6%
|
101
|
-
0 0.0% 99.6% 152 7.0% Array#map
|
102
|
-
0 0.0% 99.6% 945 43.4% AWS::EC2::Base#response_generator
|
103
|
-
0 0.0% 99.6% 1 0.0% Net::HTTPResponse.read_status_line
|
104
|
-
0 0.0% 99.6% 34 1.6% Net::HTTP#request
|
105
|
-
0 0.0% 99.6% 275 12.6% Array#each
|
106
|
-
0 0.0% 99.6% 801 36.8% REXML::Parsers::TreeParser#parse
|
107
|
-
0 0.0% 99.6% 993 45.6% XmlSimple.xml_in
|
108
|
-
0 0.0% 99.6% 32 1.5% Net::HTTPResponse#read_body
|
109
|
-
0 0.0% 99.6% 32 1.5% Net::HTTPResponse#reading_body
|
110
|
-
0 0.0% 99.6% 1 0.0% Net::HTTPResponse.each_response_header
|
111
|
-
0 0.0% 99.6% 801 36.8% REXML::Document#build
|
112
|
-
0 0.0% 99.6% 34 1.6% AWS::EC2::Base#make_request
|
113
|
-
0 0.0% 99.6% 32 1.5% Net::HTTPResponse#body
|
114
|
-
0 0.0% 99.6% 32 1.5% Array#delete_if
|
115
|
-
0 0.0% 99.6% 1 0.0% REXML::XPathParser#namespaces=
|
116
|
-
0 0.0% 99.6% 34 1.6% Net::HTTP#start
|
117
|
-
0 0.0% 99.6% 1113 51.1% XmlSimple#xml_in
|
118
|
-
0 0.0% 99.6% 27 1.2% Object#timeout
|
119
|
-
0 0.0% 99.6% 801 36.8% XmlSimple#parse
|
120
|
-
0 0.0% 99.6% 918 42.1% AWS::EC2::Base#describe_images
|
121
|
-
0 0.0% 99.6% 934 42.9% AWS::Response.parse
|
122
|
-
0 0.0% 99.6% 801 36.8% REXML::Document#initialize
|
123
|
-
0 0.0% 99.6% 22 1.0% Array#join
|
124
|
-
0 0.0% 99.6% 1 0.0% Net::BufferedIO#readline
|
125
|
-
0 0.0% 99.6% 2 0.1% Net::HTTPResponse.read_new
|
126
|
-
0 0.0% 99.6% 86 3.9% REXML::XPathParser#parse
|
1
|
+
Total: 2043 samples
|
2
|
+
1298 63.5% 63.5% 1298 63.5% garbage_collector
|
3
|
+
142 7.0% 70.5% 371 18.2% Class#new
|
4
|
+
65 3.2% 73.7% 355 17.4% REXML::Parsers::TreeParser#parse
|
5
|
+
50 2.4% 76.1% 54 2.6% REXML::Child#find
|
6
|
+
45 2.2% 78.3% 338 16.5% XmlSimple#collapse
|
7
|
+
44 2.2% 80.5% 44 2.2% REXML::Source#match
|
8
|
+
37 1.8% 82.3% 40 2.0% REXML::Child#find_all
|
9
|
+
20 1.0% 83.3% 97 4.7% XmlSimple#collapse_text_node
|
10
|
+
19 0.9% 84.2% 74 3.6% REXML::Text#value
|
11
|
+
18 0.9% 85.1% 81 4.0% REXML::Element#initialize
|
12
|
+
18 0.9% 86.0% 18 0.9% REXML::Element#root
|
13
|
+
17 0.8% 86.8% 22 1.1% REXML::Parent#initialize
|
14
|
+
17 0.8% 87.6% 19 0.9% REXML::Text#initialize
|
15
|
+
16 0.8% 88.4% 18 0.9% REXML::Text.unnormalize
|
16
|
+
14 0.7% 89.1% 370 18.1% REXML::Document#build
|
17
|
+
14 0.7% 89.8% 107 5.2% REXML::Parsers::BaseParser#pull
|
18
|
+
13 0.6% 90.4% 14 0.7% Net::BufferedIO#rbuf_fill
|
19
|
+
13 0.6% 91.0% 21 1.0% XmlSimple#merge
|
20
|
+
11 0.5% 91.6% 29 1.4% REXML::Element#document
|
21
|
+
11 0.5% 92.1% 338 16.5% REXML::Elements#each
|
22
|
+
9 0.4% 92.6% 9 0.4% REXML::Parent#name=
|
23
|
+
8 0.4% 93.0% 8 0.4% REXML::Parent#add
|
24
|
+
8 0.4% 93.3% 8 0.4% XmlSimple#force_array?
|
25
|
+
7 0.3% 93.7% 33 1.6% Array#each
|
26
|
+
6 0.3% 94.0% 9 0.4% Kernel#gem_original_require
|
27
|
+
6 0.3% 94.3% 10 0.5% Object#find
|
28
|
+
6 0.3% 94.6% 76 3.7% XmlSimple#node_to_text
|
29
|
+
5 0.2% 94.8% 19 0.9% Net::BufferedIO#read
|
30
|
+
5 0.2% 95.1% 338 16.5% REXML::Element#each_element
|
31
|
+
5 0.2% 95.3% 52 2.5% REXML::Element#text
|
32
|
+
5 0.2% 95.5% 45 2.2% REXML::Element#texts
|
33
|
+
5 0.2% 95.8% 6 0.3% REXML::Parsers::BaseParser#empty?
|
34
|
+
4 0.2% 96.0% 4 0.2% Hash#[]
|
35
|
+
4 0.2% 96.2% 4 0.2% Object#clone
|
36
|
+
4 0.2% 96.4% 15 0.7% REXML::Parsers::XPathParser#parse
|
37
|
+
4 0.2% 96.6% 338 16.5% REXML::XPath.each
|
38
|
+
4 0.2% 96.8% 6 0.3% XmlSimple#get_attributes
|
39
|
+
3 0.1% 96.9% 6 0.3% Array#delete_if
|
40
|
+
3 0.1% 97.1% 3 0.1% Hash#each
|
41
|
+
3 0.1% 97.2% 55 2.7% REXML::Element#has_text?
|
42
|
+
3 0.1% 97.4% 7 0.3% REXML::XPathParser#expr
|
43
|
+
3 0.1% 97.5% 29 1.4% XmlSimple#has_mixed_content?
|
44
|
+
2 0.1% 97.6% 36 1.8% Array#map
|
45
|
+
2 0.1% 97.7% 9 0.4% Object#require
|
46
|
+
2 0.1% 97.8% 5 0.2% REXML::Child#initialize
|
47
|
+
2 0.1% 97.9% 8 0.4% REXML::Document#doctype
|
48
|
+
2 0.1% 98.0% 94 4.6% REXML::Element#add_element
|
49
|
+
2 0.1% 98.1% 3 0.1% REXML::Element#get_text
|
50
|
+
2 0.1% 98.2% 3 0.1% REXML::Element#whitespace
|
51
|
+
2 0.1% 98.3% 92 4.5% REXML::Elements#add
|
52
|
+
2 0.1% 98.4% 55 2.7% REXML::Elements#empty?
|
53
|
+
2 0.1% 98.5% 2 0.1% REXML::Parent#<<
|
54
|
+
2 0.1% 98.6% 16 0.8% REXML::Parent#each
|
55
|
+
2 0.1% 98.7% 9 0.4% REXML::Parsers::XPathParser#AdditiveExpr
|
56
|
+
2 0.1% 98.8% 2 0.1% REXML::Parsers::XPathParser#FilterExpr
|
57
|
+
2 0.1% 98.9% 7 0.3% REXML::Parsers::XPathParser#MultiplicativeExpr
|
58
|
+
2 0.1% 99.0% 11 0.5% REXML::Parsers::XPathParser#OrExpr
|
59
|
+
2 0.1% 99.1% 5 0.2% REXML::Parsers::XPathParser#UnionExpr
|
60
|
+
2 0.1% 99.2% 22 1.1% Set#initialize
|
61
|
+
1 0.0% 99.2% 1 0.0% Array#join
|
62
|
+
1 0.0% 99.3% 1 0.0% Net::BufferedIO#readline
|
63
|
+
1 0.0% 99.3% 1 0.0% REXML::Attributes#each_attribute
|
64
|
+
1 0.0% 99.4% 1 0.0% REXML::Parsers::XPathParser#RelativeLocationPath
|
65
|
+
1 0.0% 99.4% 1 0.0% REXML::Source#empty?
|
66
|
+
1 0.0% 99.5% 1 0.0% REXML::Source#initialize
|
67
|
+
1 0.0% 99.5% 8 0.4% REXML::XPathParser#match
|
68
|
+
1 0.0% 99.6% 1 0.0% REXML::XPathParser#variables=
|
69
|
+
1 0.0% 99.6% 14 0.7% Timeout.timeout
|
70
|
+
0 0.0% 99.6% 20 1.0% AWS::Base#make_request
|
71
|
+
0 0.0% 99.6% 431 21.1% AWS::Base#response_generator
|
72
|
+
0 0.0% 99.6% 422 20.7% AWS::EC2::Base#describe_images
|
73
|
+
0 0.0% 99.6% 442 21.6% AWS::Response.parse
|
74
|
+
0 0.0% 99.6% 20 1.0% Net::HTTP#request
|
75
|
+
0 0.0% 99.6% 20 1.0% Net::HTTP#start
|
76
|
+
0 0.0% 99.6% 20 1.0% Net::HTTPResponse#body
|
77
|
+
0 0.0% 99.6% 20 1.0% Net::HTTPResponse#read_body
|
78
|
+
0 0.0% 99.6% 20 1.0% Net::HTTPResponse#read_body_0
|
79
|
+
0 0.0% 99.6% 20 1.0% Net::HTTPResponse#read_chunked
|
80
|
+
0 0.0% 99.6% 20 1.0% Net::HTTPResponse#reading_body
|
81
|
+
0 0.0% 99.6% 14 0.7% Object#timeout
|
82
|
+
0 0.0% 99.6% 1 0.0% REXML::Attributes#each
|
83
|
+
0 0.0% 99.6% 370 18.1% REXML::Document#initialize
|
84
|
+
0 0.0% 99.6% 55 2.7% REXML::Element#has_elements?
|
85
|
+
0 0.0% 99.6% 1 0.0% REXML::Element#ignore_whitespace_nodes
|
86
|
+
0 0.0% 99.6% 1 0.0% REXML::Parsers::BaseParser#initialize
|
87
|
+
0 0.0% 99.6% 1 0.0% REXML::Parsers::BaseParser#stream=
|
88
|
+
0 0.0% 99.6% 1 0.0% REXML::Parsers::TreeParser#initialize
|
89
|
+
0 0.0% 99.6% 9 0.4% REXML::Parsers::XPathParser#AndExpr
|
90
|
+
0 0.0% 99.6% 9 0.4% REXML::Parsers::XPathParser#EqualityExpr
|
91
|
+
0 0.0% 99.6% 1 0.0% REXML::Parsers::XPathParser#LocationPath
|
92
|
+
0 0.0% 99.6% 3 0.1% REXML::Parsers::XPathParser#PathExpr
|
93
|
+
0 0.0% 99.6% 9 0.4% REXML::Parsers::XPathParser#RelationalExpr
|
94
|
+
0 0.0% 99.6% 5 0.2% REXML::Parsers::XPathParser#UnaryExpr
|
95
|
+
0 0.0% 99.6% 1 0.0% REXML::SourceFactory.create_from
|
96
|
+
0 0.0% 99.6% 23 1.1% REXML::XPathParser#parse
|
97
|
+
0 0.0% 99.6% 3 0.1% XmlSimple#fold_arrays
|
98
|
+
0 0.0% 99.6% 370 18.1% XmlSimple#parse
|
99
|
+
0 0.0% 99.6% 507 24.8% XmlSimple#xml_in
|
100
|
+
0 0.0% 99.6% 469 23.0% XmlSimple.xml_in
|
data/perftools/ec2prof.symbols
CHANGED
@@ -1,129 +1,102 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
01124b97: XmlSimple#force_array?
|
104
|
-
0111c369: XmlSimple#merge
|
105
|
-
012a3384: REXML::Child#parent=
|
106
|
-
0129f80e: REXML::Parent#<<
|
107
|
-
000333d5: Hash#each_value
|
108
|
-
024ae81c: REXML::Functions.variables=
|
109
|
-
0110f181: OpenSSL::SSL::SSLSocket#sysread
|
110
|
-
012225c5: REXML::Element#whitespace
|
111
|
-
012225e5: REXML::Element#ignore_whitespace_nodes
|
112
|
-
0126f51f: REXML::Source#empty?
|
113
|
-
011e4e47: REXML::Parsers::BaseParser#empty?
|
114
|
-
01124b01: XmlSimple#empty
|
115
|
-
00037544: String#=~
|
116
|
-
01263905: REXML::Text#initialize
|
117
|
-
0126f521: REXML::Source#match
|
118
|
-
005067f5: Net::BufferedIO#readline
|
119
|
-
025a911d: Net::HTTPResponse.read_status_line
|
120
|
-
012243bd: REXML::Parsers::XPathParser#NodeTest
|
121
|
-
0003187d: Regexp#match
|
122
|
-
00031a08: Hash#[]
|
123
|
-
012a39d1: REXML::Parent#children
|
124
|
-
0121a58c: REXML::Parent#name=
|
125
|
-
00059eb8: Dir.[]
|
126
|
-
0008623d: Gem::GemPathSearcher#matching_files
|
127
|
-
00086923: Gem::GemPathSearcher#matching_file?
|
128
|
-
0008439d: Gem::GemPathSearcher#find
|
129
|
-
00036ef9: Thread#kill
|
1
|
+
0000000100037f3a: garbage_collector
|
2
|
+
000000010016bbe9: Array#map
|
3
|
+
0000000102818079: XmlSimple#node_to_text
|
4
|
+
0000000102818051: XmlSimple#collapse_text_node
|
5
|
+
0000000102817f99: XmlSimple#collapse
|
6
|
+
00000001028f9eb1: REXML::Elements#each
|
7
|
+
000000020521dbb1: REXML::XPath.each
|
8
|
+
0000000102902299: REXML::Element#each_element
|
9
|
+
000000010017a719: Class#new
|
10
|
+
00000001028a2949: REXML::Parsers::TreeParser#parse
|
11
|
+
00000001028a3f11: REXML::Document#build
|
12
|
+
00000001028a0d39: REXML::Document#initialize
|
13
|
+
0000000102810de1: XmlSimple#parse
|
14
|
+
0000000102817f71: XmlSimple#xml_in
|
15
|
+
0000000205025409: XmlSimple.xml_in
|
16
|
+
0000000204f566d9: AWS::Response.parse
|
17
|
+
00000001028123e1: AWS::Base#response_generator
|
18
|
+
00000001027f30e1: AWS::EC2::Base#describe_images
|
19
|
+
00000001029b0211: REXML::Child#find
|
20
|
+
000000010016bcb9: Array#each
|
21
|
+
00000001029c5ec1: REXML::Parent#each
|
22
|
+
00000001028fa09f: REXML::Elements#empty?
|
23
|
+
0000000102902277: REXML::Element#has_elements?
|
24
|
+
00000001028a6b49: REXML::Document#doctype
|
25
|
+
000000010016bb61: Object#find
|
26
|
+
00000001029655e9: REXML::Text#value
|
27
|
+
000000010017e629: Kernel#gem_original_require
|
28
|
+
000000010017bf71: Object#require
|
29
|
+
00000001029b0229: REXML::Child#find_all
|
30
|
+
0000000102902361: REXML::Element#texts
|
31
|
+
000000010281804f: XmlSimple#has_mixed_content?
|
32
|
+
00000001029011e9: REXML::Attributes#each_attribute
|
33
|
+
00000001028f8f39: REXML::Attributes#each
|
34
|
+
0000000102818031: XmlSimple#get_attributes
|
35
|
+
00000001028fa4c9: REXML::Elements#add
|
36
|
+
0000000102902111: REXML::Element#add_element
|
37
|
+
000000010290476d: REXML::Parsers::XPathParser#AdditiveExpr
|
38
|
+
0000000102904765: REXML::Parsers::XPathParser#RelationalExpr
|
39
|
+
000000010290475d: REXML::Parsers::XPathParser#EqualityExpr
|
40
|
+
0000000102904755: REXML::Parsers::XPathParser#AndExpr
|
41
|
+
00000001029046ed: REXML::Parsers::XPathParser#OrExpr
|
42
|
+
00000001028fdc59: REXML::Parsers::XPathParser#parse
|
43
|
+
00000001028fd169: REXML::XPathParser#parse
|
44
|
+
00000001028aca99: Set#initialize
|
45
|
+
00000001028b46c9: REXML::Parsers::BaseParser#pull
|
46
|
+
00000001029be149: REXML::Child#initialize
|
47
|
+
00000001029c5ab1: REXML::Parent#initialize
|
48
|
+
00000001028f9b19: REXML::Element#initialize
|
49
|
+
000000010016c759: Array#delete_if
|
50
|
+
00000001029039c1: REXML::XPathParser#expr
|
51
|
+
00000001028faf79: REXML::XPathParser#match
|
52
|
+
00000002052d17d9: REXML::Text.unnormalize
|
53
|
+
00000001028fc2e1: REXML::Element#text
|
54
|
+
0000000102902297: REXML::Element#has_text?
|
55
|
+
00000001029c506e: REXML::Parent#<<
|
56
|
+
0000000102964c39: REXML::Text#initialize
|
57
|
+
00000001029c64d9: REXML::Parent#add
|
58
|
+
0000000102a143b9: Net::BufferedIO#read
|
59
|
+
0000000102a15919: Net::HTTPResponse#read_chunked
|
60
|
+
0000000102a15909: Net::HTTPResponse#read_body_0
|
61
|
+
0000000102a15271: Net::HTTPResponse#read_body
|
62
|
+
0000000102a12ad9: Net::HTTPResponse#body
|
63
|
+
0000000102a15521: Net::HTTPResponse#reading_body
|
64
|
+
0000000102a16b19: Net::HTTP#request
|
65
|
+
0000000102811831: AWS::Base#make_request
|
66
|
+
0000000102a125d9: Net::HTTP#start
|
67
|
+
0000000102a14401: Net::BufferedIO#readline
|
68
|
+
0000000102a1b031: Net::BufferedIO#rbuf_fill
|
69
|
+
0000000203164251: Timeout.timeout
|
70
|
+
000000010017ec59: Object#timeout
|
71
|
+
00000001028abec7: REXML::Parsers::BaseParser#empty?
|
72
|
+
0000000102904785: REXML::Parsers::XPathParser#UnionExpr
|
73
|
+
000000010290477d: REXML::Parsers::XPathParser#UnaryExpr
|
74
|
+
0000000102904775: REXML::Parsers::XPathParser#MultiplicativeExpr
|
75
|
+
000000010037eed9: Gem::GemPathSearcher#matching_files
|
76
|
+
000000010037f5cf: Gem::GemPathSearcher#matching_file?
|
77
|
+
000000010037d021: Gem::GemPathSearcher#find
|
78
|
+
000000010017a531: Object#clone
|
79
|
+
00000001029022d1: REXML::Element#get_text
|
80
|
+
00000001028180d7: XmlSimple#force_array?
|
81
|
+
000000010280f5b1: XmlSimple#merge
|
82
|
+
00000001001692bc: Hash#[]
|
83
|
+
0000000102902219: REXML::Element#ignore_whitespace_nodes
|
84
|
+
00000001029021f9: REXML::Element#whitespace
|
85
|
+
000000010297920f: REXML::Source#empty?
|
86
|
+
000000010290383c: REXML::XPathParser#variables=
|
87
|
+
00000001028ff359: REXML::Element#document
|
88
|
+
00000001028fde41: REXML::Element#root
|
89
|
+
00000001028f9c34: REXML::Parent#name=
|
90
|
+
0000000102979211: REXML::Source#match
|
91
|
+
0000000102904795: REXML::Parsers::XPathParser#FilterExpr
|
92
|
+
000000010290478d: REXML::Parsers::XPathParser#PathExpr
|
93
|
+
000000010016a111: Hash#each
|
94
|
+
0000000102818059: XmlSimple#fold_arrays
|
95
|
+
000000010016c261: Array#join
|
96
|
+
0000000102978c11: REXML::Source#initialize
|
97
|
+
00000002052fa051: REXML::SourceFactory.create_from
|
98
|
+
00000001028b4524: REXML::Parsers::BaseParser#stream=
|
99
|
+
00000001028ab8c9: REXML::Parsers::BaseParser#initialize
|
100
|
+
00000001028a0159: REXML::Parsers::TreeParser#initialize
|
101
|
+
0000000102904715: REXML::Parsers::XPathParser#RelativeLocationPath
|
102
|
+
000000010290470d: REXML::Parsers::XPathParser#LocationPath
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: amazon-ec2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Glenn Rempe
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-
|
12
|
+
date: 2009-10-13 00:00:00 -07:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|