Class: DevSuite::Performance::Profiler::Base

Inherits:
Utils::Construct::Component::Base show all
Defined in:
lib/dev_suite/performance/profiler/base.rb

Direct Known Subclasses

ExecutionTime, Memory

Instance Method Summary collapse

Methods inherited from Utils::Construct::Component::Base

component_key

Instance Method Details

#run(&block) ⇒ Object

Raises:

  • (NotImplementedError)


7
8
9
# File 'lib/dev_suite/performance/profiler/base.rb', line 7

def run(&block)
  raise NotImplementedError, "Subclasses must implement the run method"
end

#statsObject

Raises:

  • (NotImplementedError)


11
12
13
# File 'lib/dev_suite/performance/profiler/base.rb', line 11

def stats
  raise NotImplementedError, "Subclasses must implement the stats method"
end