module RSpeed::Reporter

Public Instance Methods

call() click to toggle source
# File lib/rspeed/reporter.rb, line 9
def call
  diff = RSpeed::Differ.final_diff

  print_table(
    headings: %w[Global Value],

    rows: [
      ['Actual Time', diff[:actual_time]],
      ['Removed Time', diff[:removed_time]],
      ['Added Time', diff[:added_time]],
    ]
  )
end
print_files(items) click to toggle source
print_table(headings:, rows:) click to toggle source