radical-cybertools / radical.utils

Utility classes and tools for various radical projects
Other
8 stars 6 forks source link

Feature/log delay #421

Closed andre-merzky closed 3 weeks ago

andre-merzky commented 3 weeks ago

This PR delays the creation of log- and profiles until the first write, thus avoiding empty files.

It is strange: I am quite positive that we implemented that in the past already, but somehow seem to have lost that code? Oh well, fortunately the fix is simple, and here it is again...

codecov[bot] commented 3 weeks ago

Codecov Report

Attention: Patch coverage is 77.77778% with 4 lines in your changes missing coverage. Please review.

Project coverage is 61.54%. Comparing base (f9bbf99) to head (e95c6d7). Report is 3 commits behind head on devel.

Files with missing lines Patch % Lines
src/radical/utils/profile.py 76.47% 4 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## devel #421 +/- ## ========================================== + Coverage 61.53% 61.54% +0.01% ========================================== Files 62 62 Lines 6965 6967 +2 ========================================== + Hits 4286 4288 +2 Misses 2679 2679 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.