Sha256: 368d512bdc209aa747f26e664f14a270a1b9e952f0660deb1d5afda2d9ae8800
Contents?: true
Size: 369 Bytes
Versions: 9
Compression:
Stored size: 369 Bytes
Contents
module Rack::PerftoolsProfiler class StartProfiling < Action def act @profiler.start end def response [200, {'Content-Type' => 'text/plain'}, [<<-EOS Profiling is now enabled. Visit the URLS that should be profiled. When you are finished, visit /__stop__, then visit /__data__ to view the results. EOS ]] end end end
Version data entries
9 entries across 9 versions & 2 rubygems