mbehr1 / adlt

Library and tools to handle automotive DLT (diagnostic log- and trace-) files in Rust.
7 stars 3 forks source link

perf: use Cow for payload_as_text #131

Closed mbehr1 closed 7 months ago

mbehr1 commented 8 months ago

This is an API change but does only need code changes if you borrow the payload. See e.g. changes in rewrite.rs to quickly workaround.

codecov[bot] commented 8 months ago

Codecov Report

Attention: Patch coverage is 93.47079% with 19 lines in your changes are missing coverage. Please review.

Project coverage is 82.23%. Comparing base (e8d60b7) to head (ede803c).

Files Patch % Lines
src/utils/remote_utils.rs 94.87% 14 Missing :warning:
src/bin/adlt/remote.rs 0.00% 4 Missing :warning:
src/utils/remote_types.rs 0.00% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #131 +/- ## ========================================== + Coverage 81.64% 82.23% +0.59% ========================================== Files 29 30 +1 Lines 12175 12310 +135 ========================================== + Hits 9940 10123 +183 + Misses 2235 2187 -48 ```

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