Skip to content

Stop building with lockorder debugging in benchmarks #1725

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

TheBlueMatt
Copy link
Collaborator

cargo bench sets #[cfg(test)] so our current checks for enabling our lockorder debugging end up matching when we're trying to build performance benchmarks.

This adds explicit checks to our debug_lockorder logic to filter out feature = "_bench_unstable" builds.

`cargo bench` sets `#[cfg(test)]` so our current checks for
enabling our lockorder debugging end up matching when we're trying
to build performance benchmarks.

This adds explicit checks to our debug_lockorder logic to filter
out `feature = "_bench_unstable"` builds.
@codecov-commenter
Copy link

Codecov Report

Base: 90.77% // Head: 90.74% // Decreases project coverage by -0.03% ⚠️

Coverage data is based on head (070dd74) compared to base (8886d1d).
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1725      +/-   ##
==========================================
- Coverage   90.77%   90.74%   -0.04%     
==========================================
  Files          86       86              
  Lines       46631    46631              
  Branches    46631    46631              
==========================================
- Hits        42331    42314      -17     
- Misses       4300     4317      +17     
Impacted Files Coverage Δ
lightning/src/lib.rs 100.00% <ø> (ø)
lightning/src/chain/onchaintx.rs 94.48% <0.00%> (-1.15%) ⬇️
lightning-net-tokio/src/lib.rs 76.73% <0.00%> (-0.31%) ⬇️
lightning/src/ln/functional_tests.rs 96.87% <0.00%> (-0.15%) ⬇️
lightning-invoice/src/utils.rs 96.63% <0.00%> (-0.15%) ⬇️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

Copy link
Contributor

@dunxen dunxen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@valentinewallace valentinewallace merged commit dc28f9b into lightningdevkit:main Sep 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants