Show HN: Rbkit – a low-pause profiler for ruby
rbkit.codemancers.com
Show HN: Rbkit – a low-pause profiler for ruby
1–10 of 14 posts
Re: Show HN: Rbkit – a low-pause profiler for ruby
#2Re: Show HN: Rbkit – a low-pause profiler for ruby
#3For those interested in quickly finding out, what rbkit can do , check http://rbkit.codemancers.com/v0.1.10/docs/using-rbkit-deskto...
Re: Show HN: Rbkit – a low-pause profiler for ruby
#4Re: Show HN: Rbkit – a low-pause profiler for ruby
#5Re: Show HN: Rbkit – a low-pause profiler for ruby
#6Re: Show HN: Rbkit – a low-pause profiler for ruby
#7This looks brilliant. I was hoping it worked for my ruby-1.8.7 application though :( Are there similar applications for versions of ruby lower than ruby-2.1.0?
Having said that - As one of the authors of Rbkit - it does not even work on 1.9.x - because instrumentation support we require from Ruby isn't simply there.
Re: Show HN: Rbkit – a low-pause profiler for ruby
#8Comparing the two, it looks like this app only uses heap size for memory and doesn't take into account memory that isn't being used but hasn't been freed. https://www.dropbox.com/s/679sd83gqlkligk/Screenshot%202015-...
From `ps` i'm seeing about ~ 200mb RSS usage where rbkit is only showing ~50mb. I wonder what we could do to increase the accuracy here without having to shell out (very slow).
Also as a note if the gem install fails, on a mac I needed to run this:
$ brew install msgpack
$ brew install zeromq
Then it worked fine. Thanks again! Projects like this get me really excited for a future with faster applications and better informed developers.Re: Show HN: Rbkit – a low-pause profiler for ruby
#9This is really really cool. Thanks for posting. I'm especially interested in memory usage right now. I wrote a way to generate load and measure memory impact on your app: https://github.com/schneems/derailed_benchmarks Comparing the two, it looks like this app only uses heap size for memory and doesn't take into account memory that isn't being used but hasn't been freed. https://www.dropbox.com/s/679sd83gqlkligk/Scre…
If you are familiar with Ruby internals, ruby heap can store small sized objects (such as smaller strings, smaller arrays etc) in its own heap, but for larger objects ruby uses `malloc` and the ruby heap itself just keeps a pointer to memory allocated. The RES size in graph is approximately that value.
Total RSS size of ruby process is lot bigger, it is combination of C heap, Ruby heap and other allocations which ruby is not even aware of (such as a C extension using `malloc` calls).
Re: Show HN: Rbkit – a low-pause profiler for ruby
#10This looks brilliant. I was hoping it worked for my ruby-1.8.7 application though :( Are there similar applications for versions of ruby lower than ruby-2.1.0?