Skip to content


perftools.rb is a hack #42

tmm1 opened this Issue · 0 comments

1 participant


The SEGV handler has to go. Ignoring the top frame makes profiles kind of useless too.

The solution is to use the signal handler to register a one-time ruby event hook. This hook will fire the next time a method is called, providing a consistent VM state in which to take a profiling sample. No risk of segfaults and no hacks required.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.