lib/gruf/profiler/interceptor.rb
##
# Wraps the entire gruf call and provides memory reports
#
Wraps the entire gruf call and provides memory reports
Wraps the entire gruf call and provides memory reports
def call
        result = nil
        report = MemoryProfiler.report(memory_profiler_options) do
          result = yield
        end
        if report
          profile(report)
        else
          log('Memory profiler did not return a report')
        end
        result
      end
def call result = nil report = MemoryProfiler . report ( memory_profiler_options ) do result = yield end if report profile ( report ) else log ( 'Memory profiler did not return a report' ) end result end
Wraps the entire gruf call and provides memory reports
Wraps the entire gruf call and provides memory reports