class BigBench::PostProcessor::Environment::AttributeCluster

Creates attribute clusters for all available attributes

Public Class Methods

new(klass, options = {}) click to toggle source
# File lib/bigbench/post_processor/environment.rb, line 480
def initialize klass, options = {}
  @options = { :degree => 0, :timebase => 1.second, :scope => :all }.merge(options)
  @degree, @klass, @cluster = @options[:degree], klass, cluster(@options[:timebase], @options[:scope])
  
  cluster_attribute :durations
  cluster_attribute :requests
  cluster_attribute_with_options :methods
  cluster_attribute_with_options :statuses
  cluster_attribute_with_options :paths
  cluster_attribute_with_options :benchmarks
end