Sha256: 7c2e87661a07c8230b053718b64371f21a7e5c588972423240f16b405079ff26
Contents?: true
Size: 879 Bytes
Versions: 2
Compression:
Stored size: 879 Bytes
Contents
require 'rack' require 'pstore' require 'open4' require 'rack/perftools_profiler/utils' require 'rack/perftools_profiler/profiler_middleware' require 'rack/perftools_profiler/action' require 'rack/perftools_profiler/profiler' require 'rack/perftools_profiler/start_profiling' require 'rack/perftools_profiler/stop_profiling' require 'rack/perftools_profiler/profile_data_action' require 'rack/perftools_profiler/profile_once' require 'rack/perftools_profiler/return_data' require 'rack/perftools_profiler/call_app_directly' module Rack::PerftoolsProfiler def self.new(app, options={}) ProfilerMiddleware.new(app, options) end # helpers for testing def self.clear_data Profiler.clear_data end def self.with_profiling_off(app, options = {}) clear_data instance = ProfilerMiddleware.new(app, options) instance.force_stop instance end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rack-perftools_profiler-0.4.1 | lib/rack/perftools_profiler.rb |
rack-perftools_profiler-0.4.0 | lib/rack/perftools_profiler.rb |