Comments (4)
interesting idea, and we could implement something to help with this... I will note, the way Ruby's coverage works you can't start after the server is running you need to do it as it does code loading when the server is booting... You can stop collecting but most of the instrumentation hooks still run, so it wouldn't do much in terms of reducing performance overhead or anything like that.
So with that in mind what are you trying to achieve or why would you want not have it running all the time? If you are concerned with overhead, setting a stop ENV var and restarting the servers is the best way to ensure no overhead impacts performance.
from coverband.
Yes, I'm concerned about the overhead. I thought being able to start it manually and collect metrics for an hour or so and then stop it to have a look at the metrics.
I understand now what you mean. You mention the stop ENV is this something that coverband already provides?
from coverband.
yeah, correct... so you would do a configuration change of the environment to toggle the measuring on and off... This is because the performance impact even if you stop collection still exists as the code is instrumented when loaded...
so the workflow for this would be:
- deploy with the env var
COVERBAND_DISABLE_AUTO_START=true
for no coverband no performance impact - deploy with the env var
COVERBAND_DISABLE_AUTO_START
removed entirely, to turn on coverband - deploy with the env var
COVERBAND_DISABLE_AUTO_START=true
to turn back off coverband ensuring no performance impact
from coverband.
Great will try that! Thanks a lot!
from coverband.
Related Issues (20)
- Documentation on Ignoring Files states regex but uses wildcards, and regexes are HOT 3
- Allow merging coverage data files and creating a report off of the combined coverage HOT 3
- undefined method `each_pair' for nil:NilClass with gitlab rails application HOT 12
- Coverage UI stuck in loading HOT 3
- FileHasher 'hash' method throwing error with Padrino Framework HOT 1
- Not able to mount Coverband with Padrino Application HOT 11
- Enhancement Request: Speed up coverage loading HOT 26
- How do I clear/reset coverage of tracked views? HOT 9
- Output showing 0% or 100% in % Covered HOT 2
- Assets HOT 1
- Redis maximum number of connections HOT 4
- route tracker not showing list of not yet used routes HOT 1
- coverband tracking shape_too_complex
- Coverband Reports web View returning 500 errror unable to connect to redis HOT 3
- store clear raises TypeError on rake coverband:clear - Redis V5.0.8 HOT 2
- [feature request] display last posted datetime per line HOT 3
- 20% increase in transaction times when used in production HOT 4
- Incompatible with bootsnap. HOT 4
- Docs/clarification request HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from coverband.