Skip to content

tmm1/gctools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

profiler/logger/oobgc for rgengc in ruby 2.1

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published