Skip to content

Commit

Permalink
release: 0.2.6
Browse files Browse the repository at this point in the history
  • Loading branch information
joshstoik1 committed Jun 18, 2022
2 parents e1970da + 620b272 commit c91f5e0
Show file tree
Hide file tree
Showing 5 changed files with 51 additions and 37 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
# Changelog


## [0.2.6](https://github.com/Blobfolio/brunch/releases/tag/v0.2.6) - 2022-04-12

### Misc

* Update dependencies;



## [0.2.5](https://github.com/Blobfolio/brunch/releases/tag/v0.2.5) - 2022-04-12

### Fixed
Expand Down
24 changes: 12 additions & 12 deletions CREDITS.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
# Project Dependencies
Package: brunch
Version: 0.2.5
Generated: 2022-04-14 18:14:24 UTC
Version: 0.2.6
Generated: 2022-06-18 20:51:48 UTC

| Package | Version | Author(s) | License |
| ---- | ---- | ---- | ---- |
| [dactyl](https://github.com/Blobfolio/dactyl) | 0.3.3 | [Blobfolio, LLC.](mailto:hello@blobfolio.com) | WTFPL |
| [itoa](https://github.com/dtolnay/itoa) | 1.0.1 | [David Tolnay](mailto:dtolnay@gmail.com) | Apache-2.0 or MIT |
| [num-traits](https://github.com/rust-num/num-traits) | 0.2.14 | The Rust Project Developers | Apache-2.0 or MIT |
| [proc-macro2](https://github.com/dtolnay/proc-macro2) | 1.0.37 | [David Tolnay](mailto:dtolnay@gmail.com) and [Alex Crichton](mailto:alex@alexcrichton.com) | Apache-2.0 or MIT |
| [dactyl](https://github.com/Blobfolio/dactyl) | 0.4.0 | [Blobfolio, LLC.](mailto:hello@blobfolio.com) | WTFPL |
| [itoa](https://github.com/dtolnay/itoa) | 1.0.2 | [David Tolnay](mailto:dtolnay@gmail.com) | Apache-2.0 or MIT |
| [num-traits](https://github.com/rust-num/num-traits) | 0.2.15 | The Rust Project Developers | Apache-2.0 or MIT |
| [proc-macro2](https://github.com/dtolnay/proc-macro2) | 1.0.39 | [David Tolnay](mailto:dtolnay@gmail.com) and [Alex Crichton](mailto:alex@alexcrichton.com) | Apache-2.0 or MIT |
| [quote](https://github.com/dtolnay/quote) | 1.0.18 | [David Tolnay](mailto:dtolnay@gmail.com) | Apache-2.0 or MIT |
| [ryu](https://github.com/dtolnay/ryu) | 1.0.9 | [David Tolnay](mailto:dtolnay@gmail.com) | Apache-2.0 or BSL-1.0 |
| [serde](https://github.com/serde-rs/serde) | 1.0.136 | [Erick Tryzelaar](mailto:erick.tryzelaar@gmail.com) and [David Tolnay](mailto:dtolnay@gmail.com) | Apache-2.0 or MIT |
| [serde_derive](https://github.com/serde-rs/serde) | 1.0.136 | [Erick Tryzelaar](mailto:erick.tryzelaar@gmail.com) and [David Tolnay](mailto:dtolnay@gmail.com) | Apache-2.0 or MIT |
| [serde_json](https://github.com/serde-rs/json) | 1.0.79 | [Erick Tryzelaar](mailto:erick.tryzelaar@gmail.com) and [David Tolnay](mailto:dtolnay@gmail.com) | Apache-2.0 or MIT |
| [syn](https://github.com/dtolnay/syn) | 1.0.91 | [David Tolnay](mailto:dtolnay@gmail.com) | Apache-2.0 or MIT |
| [unicode-xid](https://github.com/unicode-rs/unicode-xid) | 0.2.2 | [erick.tryzelaar](mailto:erick.tryzelaar@gmail.com), [kwantam](mailto:kwantam@gmail.com), and [Manish Goregaokar](mailto:manishsmail@gmail.com) | Apache-2.0 or MIT |
| [ryu](https://github.com/dtolnay/ryu) | 1.0.10 | [David Tolnay](mailto:dtolnay@gmail.com) | Apache-2.0 or BSL-1.0 |
| [serde](https://github.com/serde-rs/serde) | 1.0.137 | [Erick Tryzelaar](mailto:erick.tryzelaar@gmail.com) and [David Tolnay](mailto:dtolnay@gmail.com) | Apache-2.0 or MIT |
| [serde_derive](https://github.com/serde-rs/serde) | 1.0.137 | [Erick Tryzelaar](mailto:erick.tryzelaar@gmail.com) and [David Tolnay](mailto:dtolnay@gmail.com) | Apache-2.0 or MIT |
| [serde_json](https://github.com/serde-rs/json) | 1.0.81 | [Erick Tryzelaar](mailto:erick.tryzelaar@gmail.com) and [David Tolnay](mailto:dtolnay@gmail.com) | Apache-2.0 or MIT |
| [syn](https://github.com/dtolnay/syn) | 1.0.97 | [David Tolnay](mailto:dtolnay@gmail.com) | Apache-2.0 or MIT |
| [unicode-ident](https://github.com/dtolnay/unicode-ident) | 1.0.1 | [David Tolnay](mailto:dtolnay@gmail.com) | Apache-2.0 or MIT |
7 changes: 3 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
[package]
name = "brunch"
version = "0.2.5"
version = "0.2.6"
authors = ["Blobfolio, LLC. <hello@blobfolio.com>"]
edition = "2021"
rust-version = "1.56"
rust-version = "1.61"
description = "A simple micro-benchmark runner."
license = "WTFPL"
repository = "https://github.com/Blobfolio/brunch"
Expand All @@ -12,7 +12,6 @@ exclude = [
".github",
".gitignore",
".righteous-sandbox.json",
"about.toml",
"doc",
"justfile",
"release",
Expand All @@ -28,7 +27,7 @@ man-dir = "./"
credits-dir = "./"

[dependencies]
dactyl = "0.3.*"
dactyl = "0.4.*"
serde_json = "1.0.*"

[dependencies.num-traits]
Expand Down
4 changes: 2 additions & 2 deletions src/bench/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -135,14 +135,14 @@ impl Bench {
while bench_start.elapsed() < self.limit && data.len() < 4_294_967_295 {
// Prepare the batch arguments in advance.
let iters = iter_count(&data);
let mut xs = std::iter::repeat(env.clone())
let xs = std::iter::repeat(env.clone())
.take(iters)
.collect::<Vec<I>>();

let start = Instant::now();
// There appears to be less overhead from draining a collected Vec
// than simply ForEaching the Take directly.
xs.drain(..).for_each(|x| { black_box(cb(x)); });
for x in xs { black_box(cb(x)); };
data.push((iters, start.elapsed()));
}

Expand Down
45 changes: 26 additions & 19 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,25 +59,29 @@ There are currently three styles of callback:
*/

#![warn(clippy::filetype_is_file)]
#![warn(clippy::integer_division)]
#![warn(clippy::needless_borrow)]
#![warn(clippy::nursery)]
#![warn(clippy::pedantic)]
#![warn(clippy::perf)]
#![warn(clippy::suboptimal_flops)]
#![warn(clippy::unneeded_field_pattern)]
#![warn(macro_use_extern_crate)]
#![warn(missing_copy_implementations)]
#![warn(missing_debug_implementations)]
#![warn(missing_docs)]
#![warn(non_ascii_idents)]
#![warn(trivial_casts)]
#![warn(trivial_numeric_casts)]
#![warn(unreachable_pub)]
#![warn(unused_crate_dependencies)]
#![warn(unused_extern_crates)]
#![warn(unused_import_braces)]
#![deny(unsafe_code)]

#![warn(
clippy::filetype_is_file,
clippy::integer_division,
clippy::needless_borrow,
clippy::nursery,
clippy::pedantic,
clippy::perf,
clippy::suboptimal_flops,
clippy::unneeded_field_pattern,
macro_use_extern_crate,
missing_copy_implementations,
missing_debug_implementations,
missing_docs,
non_ascii_idents,
trivial_casts,
trivial_numeric_casts,
unreachable_pub,
unused_crate_dependencies,
unused_extern_crates,
unused_import_braces,
)]

#![allow(clippy::module_name_repetitions)]

Expand Down Expand Up @@ -129,6 +133,9 @@ pub fn analyze(benches: &mut [Bench]) {
println!();
}



#[allow(unsafe_code)]
#[doc(hidden)]
/// # Black Box.
///
Expand Down

0 comments on commit c91f5e0

Please sign in to comment.