module PerformanceValidations

Public Class Methods

report_promise_passed(method, db_queries, options) click to toggle source
# File lib/performance_promise/performance_validations.rb, line 11
def self.report_promise_passed(method, db_queries, options)
  PerformancePromise.configuration.logger.warn '-' * 80
  PerformancePromise.configuration.logger.warn Utils.colored(:green, "Passed promise on #{method}")
  PerformancePromise.configuration.logger.warn '-' * 80
end