Skip to content

Commit

Permalink
Release v0.1.16
Browse files Browse the repository at this point in the history
  • Loading branch information
nvzqz committed Nov 25, 2024
1 parent 11a44b8 commit 9800477
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 9 deletions.
15 changes: 10 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,20 @@ Versioning](http://semver.org/spec/v2.0.0.html).

## [Unreleased]

## [0.1.16] - 2024-11-25

### Added

- Thread pool for reusing threads across multi-threaded benchmarks. The result
is that when running Divan benchmarks under a sampling profiler, the
profiler's output will be cleaner and easier to understand.
profiler's output will be cleaner and easier to understand. ([#37])

- Track the maximum number of allocations during a benchmark.

### Changed

- Make private `Arg::get` trait method not take `self`, so that text editors
don't recommend using it ([#59]).
don't recommend using it. ([#59])

- Cache `BenchOptions` using `LazyLock` instead of `OnceLock`, saving space and
simplifying the implementation.
Expand All @@ -39,7 +41,7 @@ Versioning](http://semver.org/spec/v2.0.0.html).

### Fixed

- List generic benchmark type parameter `A<4>` before `A<32>` ([#64]).
- List generic benchmark type parameter `A<4>` before `A<32>`. ([#64])

- Improve precision by using `f64` when calculating allocation count and sizes
for the median samples.
Expand Down Expand Up @@ -327,8 +329,10 @@ Initial release. See [blog post](https://nikolaivazquez.com/blog/divan/).
[crate]: https://crates.io/crates/divan
[crate-badge]: https://img.shields.io/crates/v/divan.svg

[Unreleased]: https://github.com/nvzqz/divan/compare/v0.1.15...HEAD
[0.1.15]: https://github.com/nvzqz/divan/compare/v0.1.13...v0.1.15
[Unreleased]: https://github.com/nvzqz/divan/compare/v0.1.16...HEAD
[0.1.16]: https://github.com/nvzqz/divan/compare/v0.1.15...v0.1.16
[0.1.15]: https://github.com/nvzqz/divan/compare/v0.1.14...v0.1.15
[0.1.14]: https://github.com/nvzqz/divan/compare/v0.1.13...v0.1.14
[0.1.13]: https://github.com/nvzqz/divan/compare/v0.1.12...v0.1.13
[0.1.12]: https://github.com/nvzqz/divan/compare/v0.1.11...v0.1.12
[0.1.11]: https://github.com/nvzqz/divan/compare/v0.1.10...v0.1.11
Expand All @@ -343,6 +347,7 @@ Initial release. See [blog post](https://nikolaivazquez.com/blog/divan/).
[0.1.2]: https://github.com/nvzqz/divan/compare/v0.1.1...v0.1.2
[0.1.1]: https://github.com/nvzqz/divan/compare/v0.1.0...v0.1.1

[#37]: https://github.com/nvzqz/divan/issues/37
[#59]: https://github.com/nvzqz/divan/issues/59
[#64]: https://github.com/nvzqz/divan/issues/64

Expand Down
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "divan"
version = "0.1.15"
version = "0.1.16"
edition = "2021"
authors = ["Nikolai Vazquez"]
license = "MIT OR Apache-2.0"
Expand All @@ -13,7 +13,7 @@ keywords = ["benchmark", "criterion", "instrument", "measure", "performance"]
readme = "README.md"

[dependencies]
divan-macros = { version = "=0.1.15", path = "macros" }
divan-macros = { version = "=0.1.16", path = "macros" }

cfg-if = "1"
clap = { version = "4", default-features = false, features = ["std", "env"] }
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ A guide is being worked on. In the meantime, see:

```toml
[dev-dependencies]
divan = "0.1.15"
divan = "0.1.16"

[[bench]]
name = "example"
Expand Down
2 changes: 1 addition & 1 deletion macros/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "divan-macros"
version = "0.1.15"
version = "0.1.16"
edition = "2021"
authors = ["Nikolai Vazquez"]
license = "MIT OR Apache-2.0"
Expand Down

0 comments on commit 9800477

Please sign in to comment.