The personal finance app for everyone
Replace StackProf with Vernier for performance profiling
Josh Pigford0e76d753bd3c
diff --git a/Gemfile b/Gemfileindex 11746759..247a4849 100644--- a/Gemfile+++ b/Gemfile@@ -29,7 +29,7 @@ gem "hotwire_combobox", github: "josefarias/hotwire_combobox", ref: "b827048a830gem "good_job"# Error logging-gem "stackprof"+gem "vernier"gem "rack-mini-profiler"gem "sentry-ruby"gem "sentry-rails"diff --git a/Gemfile.lock b/Gemfile.lockindex fa67746a..5ff46a2a 100644--- a/Gemfile.lock+++ b/Gemfile.lock@@ -470,7 +470,6 @@ GEMsimplecov_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 @@ GEMuseragent (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 @@ DEPENDENCIESsentry-railssentry-rubysimplecov- stackprofstimulus-railsstripetailwindcss-railsturbo-railstzinfo-datavcr+ vernierweb-consolewebmockdiff --git a/config/initializers/sentry.rb b/config/initializers/sentry.rbindex 19ad34e4..fffac479 100644--- a/config/initializers/sentry.rb+++ b/config/initializers/sentry.rb@@ -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::Profilerendend