You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
module Rack
class RequestProfiler
...
def format(printer)
case printer
when ::RubyProf::FlatPrinter
'txt'
when ::RubyProf::FlatPrinterWithLineNumbers
'txt'
when ::RubyProf::GraphPrinter
'txt'
when ::RubyProf::GraphHtmlPrinter
'html'
when ::RubyProf::DotPrinter
'dot'
when ::RubyProf::CallTreePrinter
"out.#{Process.pid}"
when ::RubyProf::CallStackPrinter
'html'
else
'txt'
end
end
...
The text was updated successfully, but these errors were encountered:
if defined?(Rack::RequestProfiler)
module Rack
class RequestProfiler
def format(printer)
case printer
when ::RubyProf::FlatPrinter
'txt'
# when ::RubyProf::FlatPrinterWithLineNumbers
# 'txt'
when ::RubyProf::GraphPrinter
'txt'
when ::RubyProf::GraphHtmlPrinter
'html'
when ::RubyProf::DotPrinter
'dot'
when ::RubyProf::CallTreePrinter
"out.#{Process.pid}"
when ::RubyProf::CallStackPrinter
'html'
else
'txt'
end
end
end
end
end
request-profiler 0.0.4
ruby-prof 1.0.0
following error occurs
at
The text was updated successfully, but these errors were encountered: