rbspy

Sampling profiler for Ruby

Github星跟蹤圖

rbspy

Have a running Ruby program that you want to profile without restarting it? Want to profile a Ruby
command line program really easily? You want rbspy! rbspy can profile any Ruby program just by
running 1 simple command.

rbspy lets you profile Ruby processes that are already running. You give it a PID, and it starts
profiling. It's a sampling profiler, which means it's low overhead and safe to run in
production
.

rbspy lets you record profiling data, save the raw profiling data to disk, and then analyze it in
a variety of different ways later on.

Documentation

=> https://rbspy.github.io

Requirements

rbspy supports Linux*, Mac, and Windows.

Add a testimonial

Did rbspy help you make your program faster? An awesome way to thank the project is to add a success story to this GitHub issue
where people talk about ways rbspy has helped them! Hearing that rbspy is working for people is good
motivation :)

Installing

On Mac, you can install with Homebrew: brew install rbspy.

On Linux:

  1. Download recent release of rbspy from the GitHub releases page
  2. Unpack it
  3. Move the rbspy binary to /usr/local/bin

Or have a look at Installing rbspy on our documentation.

Contributing

Pull requests that improve usability, fix bugs, or help rbspy support more operating systems are
very welcome. If you have a question, the best way to ask is to create a GitHub issue!

If you're not a very experienced Rust programmer, you're very welcome to contribute. A major reason
rbspy is written in Rust is that Rust is more approachable for beginners than C/C++.
https://www.rust-lang.org/ has great resources for learning Rust.

Building rbspy

  1. Install cargo from crates.io
  2. cargo build to build
  3. cargo test to test

The built binary will end up at target/debug/rbspy

Contributors

主要指標

概覽
名稱與所有者rbspy/rbspy
主編程語言Rust
編程語言Rust (語言數: 3)
平台
許可證MIT License
所有者活动
創建於2016-05-12 15:53:22
推送於2025-04-15 10:10:44
最后一次提交
發布數82
最新版本名稱v0.33.0 (發布於 )
第一版名稱v0.1.0 (發布於 )
用户参与
星數2.5k
關注者數42
派生數101
提交數886
已啟用問題?
問題數190
打開的問題數27
拉請求數161
打開的拉請求數1
關閉的拉請求數37
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?