jhawthorn / vernier

📏 next generation CRuby profiler
https://vernier.prof/
MIT License
718 stars 15 forks source link

API to start and stop tracing #58

Closed joshuay03 closed 3 months ago

joshuay03 commented 3 months ago

It would be useful to have a way to start and stop the trace sequentially as an alternative to providing a block, similar to stackprof's #start and #stop: https://github.com/tmm1/stackprof#advanced-usage.

joshuay03 commented 3 months ago

I got a quick POC up here: https://github.com/jhawthorn/vernier/pull/59