Skip to content

Disable auto-benchmark harness for crates#8057

Merged
sholderbach merged 1 commit intonushell:mainfrom
sholderbach:disable-unnecessary-bench
Feb 12, 2023
Merged

Disable auto-benchmark harness for crates#8057
sholderbach merged 1 commit intonushell:mainfrom
sholderbach:disable-unnecessary-bench

Conversation

@sholderbach
Copy link
Copy Markdown
Member

Description

This disables automatic detection of #[bench] and other benchmarks
within the crates. Our benchmarks should all live in benches

This fixes a problem with criterion flags and should also reduce the
build requirements for cargo bench a bit

Taken from #7952

See: https://bheisler.github.io/criterion.rs/book/faq.html#cargo-bench-gives-unrecognized-option-errors-for-valid-command-line-options

User-Facing Changes

None

This disables automatic detection of `#[bench]` and other benchmarks
within the crates. Our benchmarks should all live in `benches`

This fixes a problem with criterion flags and should also reduce the
build requirements for `cargo bench` a bit

Taken from nushell#7952

See: https://bheisler.github.io/criterion.rs/book/faq.html#cargo-bench-gives-unrecognized-option-errors-for-valid-command-line-options
@codecov
Copy link
Copy Markdown

codecov bot commented Feb 12, 2023

Codecov Report

Base: 55.24% // Head: 55.23% // Decreases project coverage by -0.01% ⚠️

Coverage data is based on head (1d5e1f9) compared to base (b0775b3).
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #8057      +/-   ##
==========================================
- Coverage   55.24%   55.23%   -0.01%     
==========================================
  Files         606      606              
  Lines       99060    99060              
==========================================
- Hits        54722    54720       -2     
- Misses      44338    44340       +2     
Impacted Files Coverage Δ
crates/nu-command/src/filters/update.rs 86.45% <0.00%> (-0.65%) ⬇️
crates/nu-protocol/src/value/mod.rs 47.86% <0.00%> (-0.04%) ⬇️

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.

@sholderbach sholderbach added this pull request to the merge queue Feb 12, 2023
Merged via the queue into nushell:main with commit 1cd70d7 Feb 12, 2023
@sholderbach sholderbach deleted the disable-unnecessary-bench branch February 12, 2023 22:22
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.

1 participant