jhawthorn / vernier

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

Update Tests to be a little more Resilient #41

Closed ChaelCodes closed 7 months ago

ChaelCodes commented 7 months ago

We should document TEST_SLEEP_SCALE somewhere.

ChaelCodes commented 7 months ago

For the record, I think epsilon is the right method. If we return 3 but it expected 200, then it'll throw an error - which we want, but it'll be generous with 200 vs 150 or 400 vs 260.

jhawthorn commented 7 months ago

Thanks!