zombocom / derailed_benchmarks

Go faster, off the Rails - Benchmarks for your whole Rails app
2.94k stars 138 forks source link

How does this work? #209

Closed resistorsoftware closed 2 years ago

resistorsoftware commented 2 years ago

Alright. Following the steps. I can boot my App in production:

 RAILS_ENV=production rails server

No trouble there. But trying anything else? Forget it. I have a heroku App chewing up memory, and I have no idea why. So I want to benchmark some background jobs, etc.. how the heck? I tried this gem, and then this command:

bundle exec derailed exec perf:mem_over_time

But this dies trying to rake db:create my database! Ha. That is not gonna work. It is first off, a massive thing on heroku, and secondly, what??

No one at Heroku wants to help with this, so I am on my own, and trying to find out why Dynos go R14 for what it is worth... ackthpffft!

Anyway, why does this command to do a performance mem check, try and create my already created DB?

schneems commented 2 years ago

Hello this is an open source project, not a free support network. I invite you to either answer your own questions through visiting the source i.e. "try and create my already created DB?" or to ask your question via stack overflow. Which is a general Q&A site.

I also invite you to refine your question to include your desired result, what error message you got instead, a list of things you've done to try to debug it, and either why they've not worked or didn't produce much information. Being able to provide those details and ask for specific help will be valuable skills that will help you get help as you continue to grow as a developer.

Good luck.

resistorsoftware commented 2 years ago

Harsh.

schneems commented 2 years ago

But fair