-
Stan Hu authored
We call `GitLab::Profiler.clean_backtrace` in a lot of places where we aren't actually profiling. It makes sense to break this out into its own class method. This change also reduces memory usage and speeds up the backtrace cleaner since the regexp is computed once at load time. Closes https://gitlab.com/gitlab-org/gitlab/issues/36645
a73e4988