Class: Aws::AwsBenchmarkingBlock

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

Overview

:nodoc:

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeAwsBenchmarkingBlock

Returns a new instance of AwsBenchmarkingBlock.



41
42
43
44
45
46
# File 'lib/awsbase/awsbase.rb', line 41

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.



39
40
41
# File 'lib/awsbase/awsbase.rb', line 39

def service
  @service
end

#xmlObject

Returns the value of attribute xml.



39
40
41
# File 'lib/awsbase/awsbase.rb', line 39

def xml
  @xml
end