I need to profile the test suite that I usually run with bundle exec rspec spec/ and produce the GIF image.
What is the command to run the perftools.rb so that it works correctly with bundler?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I too had to dig around to get this. Here is what I did
Put this in spec_helper.rb:
Run your rspec
Run pprof to get your numbers