This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
commit 655eac5db862701fb12f1e3217802159697a607c
tree b836fb3dad99269f8e60aba950d1237e37db14da
parent 56776e8457f025dfe32b355eb0d298c45a997898
tree b836fb3dad99269f8e60aba950d1237e37db14da
parent 56776e8457f025dfe32b355eb0d298c45a997898
trashed /
| name | age | message | |
|---|---|---|---|
| |
.gitignore | Mon Aug 24 18:08:51 -0700 2009 | |
| |
MIT-LICENSE | Mon Aug 24 18:08:51 -0700 2009 | |
| |
README | Tue Aug 25 09:20:11 -0700 2009 | |
| |
Rakefile | Mon Aug 24 18:08:51 -0700 2009 | |
| |
init.rb | Mon Aug 24 18:08:51 -0700 2009 | |
| |
lib/ | Thu Aug 27 10:21:02 -0700 2009 | |
| |
test/ | Tue Aug 25 13:40:40 -0700 2009 | |
| |
trashed.gemspec | Mon Aug 24 18:08:51 -0700 2009 |
README
Trashed keeps an eye on what you throw out for garbage collection. Measure object allocations, heap growth, and garbage collection time. Provides a Rack middleware to log per-request piggishness as well as periodic samplers for NewRelic's Rails Performance Monitor. You can also mix and match the Metrics to rig up your own resource monitors or provide new Metrics to sample with NewRelic. Trashed requires Ruby Enterprise Edition (REE) or a patched Ruby 1.8. See http://github.com/skaes/railsbench for patches. == Using the NewRelic samplers with Rails In an initializer such as config/initializers/newrelic.rb: if GC.respond_to?(:enable_stats) GC.enable_stats require 'trashed/newrelic/enable' end == Using the Rack logger with Rails config.middleware.use Trashed::Rack::RequestLogger, Rails.logger, Trashed::Metrics.available







