bear-metal / tunemygc

TuneMyGC - optimal MRI Ruby 2.1+ Garbage Collection
https://www.tunemygc.com
346 stars 25 forks source link

No log output for rspec #17

Closed somebody32 closed 8 years ago

somebody32 commented 9 years ago

Hi,

there is no log output at all when I'm trying to run tunemygc + rspec, except initial message about railtie: [TuneMyGC] Rails detected, loading railtie

So there is no way to understand if measurement succeeded or not

methodmissing commented 9 years ago

@somebody32 mind adding "RUBY_GC_SPY=rspec" to your environment and reporting back if it worked for you? ( https://github.com/bear-metal/tunemygc#advanced )

somebody32 commented 9 years ago

@methodmissing I started with that initially, no difference at all

methodmissing commented 9 years ago

@somebody32 synced with you via email

Fryguy commented 9 years ago

I am having the same problem trying to profile our rspec tests. Also, not sure this matters, but we have multiple test suites, so I'm not sure what this is going to do when the same token is used across the suites. See https://travis-ci.org/Fryguy/manageiq/builds/67890184 for the test suites (note that vmdb is really the one I care about).

Fryguy commented 9 years ago

Oh I just noticed some other issues around VCR. We do have some VCR specs. What changes do I have to make to support this, though?