Class: DevSuite::Performance::Reporter::Simple

Inherits:
Base show all
Defined in:
lib/dev_suite/performance/reporter/simple.rb

Instance Method Summary collapse

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

component_key

Instance Method Details

#generate(description:, results:) ⇒ Object

Generates the performance report

Parameters:

  • description (String)

    The description of the analysis

  • results (Hash)

    The profiling results from the profilers


13
14
15
16
# File 'lib/dev_suite/performance/reporter/simple.rb', line 13

def generate(description:, results:)
  table = Helpers::TableBuilder.build_table(description, results)
  render_table(table)
end