Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Detect coverage earlier #63
This should bail out of the iseq caching early enough. Testing whether the constant is defined is very fast. This should add less than 2ms to shopify boot.
Where this falls down is if coverage is eager-loaded by something, but not actually used.
The only ruby-land API available to us to test whether coverage is actually running is