This file provides guidance to AI coding agents when working with code in this repository.
singed makes it easy to get a flamegraph anywhere in a Ruby codebase. It wraps profiling with stackprof or rbspy and launches speedscope to view results.
bundle install
# Run all tests (RSpec)
bundle exec rspec
# Run a single spec file
bundle exec rspec spec/path/to/spec.rb
# Lint
bundle exec rubocop
bundle exec rubocop -a # auto-correctlib/singed.rb— main entry point; providesSinged.flamegraphblock helperlib/singed/— core classes: flamegraph output handling, stackprof/rbspy integrations, speedscope launcherspec/— RSpec tests