Class: BigBench::PostProcessor::Environment::AttributeCluster
- Inherits:
-
Object
- Object
- BigBench::PostProcessor::Environment::AttributeCluster
- Includes:
- BigBench::PostProcessor::Environment
- Defined in:
- lib/bigbench/post_processor/environment.rb
Overview
Creates attribute clusters for all available attributes
Instance Method Summary collapse
-
#initialize(klass, options = {}) ⇒ AttributeCluster
constructor
A new instance of AttributeCluster.
Methods included from BigBench::PostProcessor::Environment
#appearing, #cluster, #each_benchmark, #each_tracking, #normal_distribution, #polynomial_regression, reset!, #scope, #scope_to_benchmark, #statistics, #trackings
Constructor Details
#initialize(klass, options = {}) ⇒ AttributeCluster
Returns a new instance of AttributeCluster.
480 481 482 483 484 485 486 487 488 489 490 |
# File 'lib/bigbench/post_processor/environment.rb', line 480 def initialize klass, = {} @options = { :degree => 0, :timebase => 1.second, :scope => :all }.merge() @degree, @klass, @cluster = @options[:degree], klass, cluster(@options[:timebase], @options[:scope]) cluster_attribute :durations cluster_attribute :requests :methods :statuses :paths :benchmarks end |