Sha256: 646a6c5490a19b19bbfcd6cc1a4aa9e7926274d24ced8cea98185164fa556f4b

Contents?: true

Size: 320 Bytes

Versions: 21

Compression:

Stored size: 320 Bytes

Contents

module Merb
  module Rack
    class Profiler < Merb::Rack::Middleware

      def initialize(app, min=1, iter=1)
        super(app)
        @min, @iter = min, iter
      end

      def call(env)
        __profile__("profile_output", @min, @iter) do
          @app.call(env)
        end
      end

      
    end
  end
end

Version data entries

21 entries across 21 versions & 5 rubygems

Version Path
joe-merb-core-0.9.8 lib/merb-core/rack/middleware/profiler.rb
wycats-merb-core-0.9.8 lib/merb-core/rack/middleware/profiler.rb
wycats-merb-core-0.9.9 lib/merb-core/rack/middleware/profiler.rb
merb-core-1.1.3 spec10/public/webrat/test_app/gems/gems/merb-core-0.9.14/lib/merb-core/rack/middleware/profiler.rb
merb-core-1.1.2 spec10/public/webrat/test_app/gems/gems/merb-core-0.9.14/lib/merb-core/rack/middleware/profiler.rb
merb-core-1.1.1 spec10/public/webrat/test_app/gems/gems/merb-core-0.9.14/lib/merb-core/rack/middleware/profiler.rb
merb-core-1.1.0 spec10/public/webrat/test_app/gems/gems/merb-core-0.9.14/lib/merb-core/rack/middleware/profiler.rb
merb-core-1.1.0.rc1 spec10/public/webrat/test_app/gems/gems/merb-core-0.9.14/lib/merb-core/rack/middleware/profiler.rb
merb-core-1.1.0.pre spec10/public/webrat/test_app/gems/gems/merb-core-0.9.14/lib/merb-core/rack/middleware/profiler.rb
thorero-0.9.4.5 lib/merb-core/rack/middleware/profiler.rb
merb-core-0.9.10 lib/merb-core/rack/middleware/profiler.rb
merb-core-0.9.11 lib/merb-core/rack/middleware/profiler.rb
merb-core-0.9.13 lib/merb-core/rack/middleware/profiler.rb
merb-core-0.9.12 lib/merb-core/rack/middleware/profiler.rb
merb-core-0.9.5 lib/merb-core/rack/middleware/profiler.rb
merb-core-0.9.4 lib/merb-core/rack/middleware/profiler.rb
merb-core-0.9.6 lib/merb-core/rack/middleware/profiler.rb
merb-core-0.9.7 lib/merb-core/rack/middleware/profiler.rb
merb-core-0.9.8 lib/merb-core/rack/middleware/profiler.rb
merb-core-0.9.9 lib/merb-core/rack/middleware/profiler.rb