You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file provides guidance to AI coding agents when working with code in this repository.
4
+
5
+
## What this project is
6
+
7
+
`singed` makes it easy to get a flamegraph anywhere in a Ruby codebase. It wraps profiling with [stackprof](https://github.com/tmm1/stackprof) or [rbspy](https://github.com/rbspy/rbspy) and launches [speedscope](https://github.com/jlfwong/speedscope) to view results.
8
+
9
+
## Commands
10
+
11
+
```bash
12
+
bundle install
13
+
14
+
# Run all tests (RSpec)
15
+
bundle exec rspec
16
+
17
+
# Run a single spec file
18
+
bundle exec rspec spec/path/to/spec.rb
19
+
20
+
# Lint
21
+
bundle exec rubocop
22
+
bundle exec rubocop -a # auto-correct
23
+
```
24
+
25
+
## Architecture
26
+
27
+
-`lib/singed.rb` — main entry point; provides `Singed.flamegraph` block helper
0 commit comments