Project

gctools

0.12
No commit activity in last 3 years
No release in over 3 years
There's a lot of open issues
gc debugger, logger and profiler for rgengc in ruby 2.1
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

 Project Readme

gctools

gc profiler/logger and oobgc for rgengc in ruby 2.1

design

built on new apis and events offered in ruby 2.1:

  • rb_gc_stat()
  • rb_gc_latest_gc_info()
  • RUBY_INTERNAL_EVENT_GC_START
  • RUBY_INTERNAL_EVENT_GC_END_MARK
  • RUBY_INTERNAL_EVENT_GC_END_SWEEP

usage

logger

require 'gctools/logger'

oobgc

require 'gctools/oobgc'
GC::OOB.run # after every request
use(GC::OOB::UnicornMiddleware) # in config.ru for unicorn