Add stackprof for profiling

So you can do something like this:

```ruby
  require "stackprof"

  report = StackProf.run(mode: :wall, interval: 100) do
    Account.find_by(external_account_id: 123)
  end

  StackProf::Report.new(report).print_text
```
This commit is contained in:
Donal McBreen
2026-02-12 15:35:26 +00:00
parent ee4511180a
commit 1506624cd3
3 changed files with 5 additions and 0 deletions
+1
View File
@@ -41,6 +41,7 @@ gem "useragent", bc: "useragent"
# Operations
gem "autotuner"
gem "mission_control-jobs"
gem "stackprof"
gem "benchmark" # indirect dependency, being removed from Ruby 3.5 stdlib so here to quash warnings
group :development, :test do