diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-07-20 15:26:25 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-07-20 15:26:25 +0300 |
commit | a09983ae35713f5a2bbb100981116d31ce99826e (patch) | |
tree | 2ee2af7bd104d57086db360a7e6d8c9d5d43667a /bin/rspec-stackprof | |
parent | 18c5ab32b738c0b6ecb4d0df3994000482f34bd8 (diff) |
Add latest changes from gitlab-org/gitlab@13-2-stable-ee
Diffstat (limited to 'bin/rspec-stackprof')
-rwxr-xr-x | bin/rspec-stackprof | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/rspec-stackprof b/bin/rspec-stackprof index 8058d165196..3bef45c607c 100755 --- a/bin/rspec-stackprof +++ b/bin/rspec-stackprof @@ -8,9 +8,10 @@ require 'spec_helper' filename = ARGV[0].split('/').last interval = ENV.fetch('INTERVAL', 1000).to_i limit = ENV.fetch('LIMIT', 20) +raw = ENV.fetch('RAW', false) == 'true' output_file = "tmp/#{filename}.dump" -StackProf.run(mode: :wall, out: output_file, interval: interval) do +StackProf.run(mode: :wall, out: output_file, interval: interval, raw: raw) do RSpec::Core::Runner.run(ARGV, $stderr, $stdout) end |