Class: RightAws::AwsBenchmarkingBlock

Inherits:
Object
  • Object
show all
Defined in:
lib/awsbase/right_awsbase.rb

Overview

:nodoc:

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeAwsBenchmarkingBlock

Returns a new instance of AwsBenchmarkingBlock.



163
164
165
166
167
168
# File 'lib/awsbase/right_awsbase.rb', line 163

def initialize
  # Benchmark::Tms instance for service (Ec2, S3, or SQS) access benchmarking.
  @service = Benchmark::Tms.new()
  # Benchmark::Tms instance for XML parsing benchmarking.
  @xml = Benchmark::Tms.new()
end

Instance Attribute Details

#serviceObject

Returns the value of attribute service.



162
163
164
# File 'lib/awsbase/right_awsbase.rb', line 162

def service
  @service
end

#xmlObject

Returns the value of attribute xml.



162
163
164
# File 'lib/awsbase/right_awsbase.rb', line 162

def xml
  @xml
end