Skip to content

Simple wraper for Sam Saffron's memory_profiler to use as a rack middleware

Notifications You must be signed in to change notification settings

shved/rack_mem_prof

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

Use this middleware to profile API requests.

!!! Remember about huge overhead that enabling ObjectSpace stats gives to your application. !!!

Installation

Add in Gemfile:

gem 'rack_mem_prof'

Install dependencies:

$ bundle install

Install middleware:

config.middleware.use(Rack::MemProf::Middleware) or

require 'rack/mem_prof'

use Rack::MemProf::Middleware

Options

path

scale_bytes

About

Simple wraper for Sam Saffron's memory_profiler to use as a rack middleware

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages