Closed rofinn closed 6 years ago
Merging #75 into master will decrease coverage by
0.76%
. The diff coverage is94.11%
.
@@ Coverage Diff @@
## master #75 +/- ##
==========================================
- Coverage 100% 99.23% -0.77%
==========================================
Files 9 11 +2
Lines 251 261 +10
==========================================
+ Hits 251 259 +8
- Misses 0 2 +2
Impacted Files | Coverage Δ | |
---|---|---|
src/Memento.jl | 100% <ø> (ø) |
:arrow_up: |
src/config.jl | 100% <100%> (ø) |
|
src/loggers.jl | 100% <100%> (ø) |
:arrow_up: |
src/stdlib.jl | 75% <75%> (ø) |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update f6f26e7...a0d15b2. Read the comment docs.
I'm not sure what's up the coverage reporting because all of those lines should be getting hit in order for the tests to pass.
https://codecov.io/gh/invenia/Memento.jl/src/6a7ca7f870687da85281e0f8a36db41679588d2f/src/stdlib.jl
Looks like the coverage problem was an issue with the optimizer which is fixed on master.
https://github.com/JuliaLang/julia/issues/27209
Unfortunately, travis is still using a nightly build from a few days ago.
Also note that there are some weird issues with Coverage.jl on master right now (see for example the 0.7 CI logs in https://github.com/JuliaCI/Coverage.jl/pull/162), which appears to include hit detection.
Initial attempt to get stdlib logging working.
Example)
I'll note that using Memento has slightly worse performance than base when we're actually writing messages. The bigger issue is that no-op conditions are slower if we route everything to Memento.
The slower no-op performance is an accepted compromise with Memento's design (for tracing code Trace.jl would be a better choice). A middle ground may be to not route debug messages to Memento by default.