RubyProf.measure_mode = RubyProf::MEMORY
result = RubyProf.profile do
ApplicationsManagement::Export.new(applications_ids, export_id).call
end
printer = RubyProf::CallTreePrinter.new(result)
printer.print(path: 'profilizers/ruby_prof_reports', profile: 'callgrind')
但当我看报告时,并没有关于内存使用的数据!每个方法的调用数量。有什么问题?以及如何获得rails项目块的有效报告?