Journalist
A gem that allows you to look into a running Ruby process.
Motivation
We lack the tools to have real time visibility in Ruby processes. After seeing VisualVM at Baruco, I've realised that a tool like that for CRuby would be amazing. Thus, Journalist was born.
Installation
Add this line to your application's Gemfile:
gem 'journalist'
And then execute:
$ bundle
Or install it yourself as:
$ gem install journalist
Usage
To start profiling, type:
Journalist.start
There are a lot of limitations right now, such as this only working for one process at any given time.
TODO
- [ ] Finish call/return tracepoints
- [ ] Implement allocation tracepoints
- [ ] Implement msgpack serialization
- [ ] Implement command and stream sockets
- [ ] Build GUI
Contributing
- Fork it ( https://github.com/journalistrb/journalist/fork )
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create a new Pull Request