1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-07-19 05:09:38 +02:00

Replace StackProf with Vernier for performance profiling

This commit is contained in:
Josh Pigford 2025-02-25 08:37:51 -06:00
parent f5ff5332d5
commit 0e76d753bd
3 changed files with 5 additions and 3 deletions

View file

@ -29,7 +29,7 @@ gem "hotwire_combobox", github: "josefarias/hotwire_combobox", ref: "b827048a830
gem "good_job"
# Error logging
gem "stackprof"
gem "vernier"
gem "rack-mini-profiler"
gem "sentry-ruby"
gem "sentry-rails"

View file

@ -470,7 +470,6 @@ GEM
simplecov_json_formatter (0.1.4)
smart_properties (1.17.0)
sorbet-runtime (0.5.11813)
stackprof (0.2.27)
stimulus-rails (1.3.4)
railties (>= 6.0.0)
stringio (3.1.3)
@ -501,6 +500,7 @@ GEM
useragent (0.16.11)
vcr (6.3.1)
base64
vernier (1.5.0)
web-console (4.2.1)
actionview (>= 6.0.0)
activemodel (>= 6.0.0)
@ -579,13 +579,13 @@ DEPENDENCIES
sentry-rails
sentry-ruby
simplecov
stackprof
stimulus-rails
stripe
tailwindcss-rails
turbo-rails
tzinfo-data
vcr
vernier
web-console
webmock

View file

@ -14,5 +14,7 @@ if ENV["SENTRY_DSN"].present?
# of sampled transactions.
# We recommend adjusting this value in production.
config.profiles_sample_rate = 0.5
config.profiler_class = Sentry::Vernier::Profiler
end
end