-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Manual config tips for non-Rails? #2
Comments
Hi @subvertallchris , we can create a new Spy that plugs into Sinatra during the next few days |
Alternatively, if there's a really urgent need, there's a few example spies in https://github.com/bear-metal/tunemygc/tree/master/lib/tunemygc/spies (minitest and active_job are good base examples for this use case I think). What's most important is hooks for:
I documented these important lifecycle events in https://github.com/bear-metal/tunemygc/blob/master/doc/protocol.md#tunemygc-protocol . The above 3 needs to be covered, the GC specific ones are covered by tracepoints. |
Perfect, thank you! This is a really cool gem, thank you for making this available. |
I threw together a spy for RSpec but receive this upon completion:
It works if I tell it I'm running Rails 4.1.7, though I guess those results might not be optimal. ;-) Happy to send a PR with this once it's working, if you'd like. |
Send! :-) |
Will do once I'm home. It's pretty crude, really just the minitest class On Saturday, February 28, 2015, Lourens Naudé [email protected]
|
I can take a stab at it |
I'm a little short on time and haven't worked with minitest much, so please excuse my lack of tests. It might be nice if there was a |
I'm trying to tune GC for a Sinatra/Padrino app, so it looks like I need to setup the manual agent. Do you have any recommendations for this?
The text was updated successfully, but these errors were encountered: