Class: PerfEntry

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializePerfEntry

Returns a new instance of PerfEntry.



47
48
49
50
# File 'lib/railsbench/perf_info.rb', line 47

def initialize
  @keys = []
  @timings = {}
end

Instance Attribute Details

#keysObject

Returns the value of attribute keys.



46
47
48
# File 'lib/railsbench/perf_info.rb', line 46

def keys
  @keys
end

#timingsObject

Returns the value of attribute timings.



46
47
48
# File 'lib/railsbench/perf_info.rb', line 46

def timings
  @timings
end