rbspy
rbspy copied to clipboard
Sampling CPU profiler for Ruby
A couple of tests fail on Windows when profiling newer rubies: ``` ---- sampler::tests::test_sample_single_process_with_time_limit stdout ---- thread 'sampler::tests::test_sample_single_process_with_time_limit' panicked at 'unexpected error: initialize Caused by: 0: get ruby VM state...
I'd like stories from people who are using rbspy. Have you used rbspy successfully to fix a performance problem? What kind of performance problem? How did rbspy help? This helps...
I was just reading this article by @itamarst [Creating a better flamegraph](https://pythonspeed.com/articles/a-better-flamegraph/). It has the cool idea to include some of the source code of the program being profiled in...
While trying to package rbspy for Fedora I noticed a number of test failures around bindgen on 32 bit architectures: - armv7hl: https://koji.fedoraproject.org/koji/taskinfo?taskID=78334998 - i686: https://koji.fedoraproject.org/koji/taskinfo?taskID=78334999 You can see the...
In some cases, we see that rbspy exits early, both with and without the `--duration` parameter. Without the duration parameter, it can sometimes exit with an exit code of 0....
When I try to simply record a small ruby program started by rbspy it fails with the following error message ``` > ./target/debug/rbspy record -- ruby ci/ruby-programs/recurse-sleep.rb Press Ctrl+C to...
### Request I'd like to add a `--passthrough-exit-status` (or some other name) flag to rbspy's `record` subcommand. When this flag is specified, then `rbspy record` would exit with the same...
i was playing around with stackprof as described in [this blog post](https://samsaffron.com/archive/2018/01/18/my-production-ruby-on-rails-cpu-is-at-100-now-what) and noticed that it includes a `garbage collection` span at the top level! i have no idea how...
I often run rbspy to get an immediate live view of what a program is doing and don't want to save the output afterward. py-spy supports this type of view...
Lots of projects I work on use an SQL database. Some functions make multiple queries. rbspy graphs tell me that time is spent fetching records, but not the breakdown of...