1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-07-21 22:29: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" gem "good_job"
# Error logging # Error logging
gem "stackprof" gem "vernier"
gem "rack-mini-profiler" gem "rack-mini-profiler"
gem "sentry-ruby" gem "sentry-ruby"
gem "sentry-rails" gem "sentry-rails"

View file

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

View file

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