Unverified Commit b801a104 authored by bors[bot]'s avatar bors[bot] Committed by GitHub
Browse files

Merge #72

72: Bump criterion from 0.3.3 to 0.3.4 r=jbreitbart a=dependabot[bot]

Bumps [criterion](https://github.com/bheisler/criterion.rs) from 0.3.3 to 0.3.4.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/bheisler/criterion.rs/blob/master/CHANGELOG.md">criterion's changelog</a>.</em></p>
<blockquote>
<h1>Changelog</h1>
<p>All notable changes to this project will be documented in this file.</p>
<p>The format is based on <a href="http://keepachangelog.com/en/1.0.0/">Keep a Changelog</a>
and this project adheres to <a href="http://semver.org/spec/v2.0.0.html">Semantic Versioning</a>.</p>
<h2>[Unreleased]</h2>
<h3>Added</h3>
<ul>
<li>Added support for benchmarking async functions</li>
<li>Added <code>with_output_color</code> for enabling or disabling CLI output coloring programmatically.</li>
</ul>
<h3>Fixed</h3>
<ul>
<li>Criterion.rs will now give a clear error message in case of benchmarks that take zero time.</li>
<li>Added some extra code to ensure that every sample has at least one iteration.</li>
<li>Added a notice to the <code>--help</code> output regarding &quot;unrecognized option&quot; errors.</li>
<li>Increased opacity on violin charts.</li>
<li>Fixed violin chart X axis not starting at zero in the plotters backend.</li>
<li>Criterion.rs will now automatically detect the right output directory.</li>
</ul>
<h3>Deprecated</h3>
<ul>
<li><code>Criterion::can_plot</code> is no longer useful and is deprecated pending deletion in 0.4.0.</li>
<li><code>Benchmark</code> and <code>ParameterizedBenchmark</code> were already hidden from documentation, but are now
formally deprecated pending deletion in 0.4.0. Callers should use <code>BenchmarkGroup</code> instead.</li>
<li><code>Criterion::bench_function_over_inputs</code>, <code>Criterion::bench_functions</code>, and <code>Criterion::bench</code> were
already hidden from documentation, but are now formally deprecated pending deletion in 0.4.0.
Callers should use <code>BenchmarkGroup</code> instead.</li>
<li>Three new optional features have been added; &quot;html_reports&quot;, &quot;csv_output&quot; and
&quot;cargo_bench_support&quot;. These features currently do nothing except disable a warning message at
runtime, but in version 0.4.0 they will be used to enable HTML report generation, CSV file
generation, and the ability to run in cargo-bench (as opposed to <a href="https://github.com/bheisler/cargo-criterion">cargo-criterion</a>).
&quot;cargo_bench_support&quot; is enabled by default, but &quot;html_reports&quot; and &quot;csv_output&quot;
are not. If you use Criterion.rs' HTML reports, it is recommended to switch to <a href="https://github.com/bheisler/cargo-criterion">cargo-criterion</a>.
If you use CSV output, it is recommended to switch to <a href="https://github.com/bheisler/cargo-criterion">cargo-criterion</a> and use the
<code>--message-format=json</code> option for machine-readable output instead. A warning message will be
printed at the start of benchmark runs which do not have &quot;html_reports&quot; or &quot;cargo_bench_support&quot;
enabled, but because CSV output is not widely used it has no warning.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a href="https://github.com/bheisler/criterion.rs/commits">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=criterion&package-manager=cargo&previous-version=0.3.3&new-version=0.3.4)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores

)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)


</details>
Co-authored-by: default avatardependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
parents 7ade3da8 111d9658
Pipeline #397824 passed with stages
in 15 minutes and 3 seconds
......@@ -150,16 +150,16 @@ dependencies = [
[[package]]
name = "criterion"
version = "0.3.3"
version = "0.3.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "70daa7ceec6cf143990669a04c7df13391d55fb27bd4079d252fca774ba244d8"
checksum = "ab327ed7354547cc2ef43cbe20ef68b988e70b4b593cbd66a2a61733123a3d23"
dependencies = [
"atty",
"cast",
"clap",
"criterion-plot",
"csv",
"itertools",
"itertools 0.10.0",
"lazy_static",
"num-traits",
"oorandom",
......@@ -181,7 +181,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e022feadec601fba1649cfa83586381a4ad31c6bf3a9ab7d408118b05dd9889d"
dependencies = [
"cast",
"itertools",
"itertools 0.9.0",
]
[[package]]
......@@ -330,6 +330,15 @@ dependencies = [
"either",
]
[[package]]
name = "itertools"
version = "0.10.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "37d572918e350e82412fe766d24b15e6682fb2ed2bbe018280caa810397cb319"
dependencies = [
"either",
]
[[package]]
name = "itoa"
version = "0.4.6"
......@@ -484,16 +493,32 @@ checksum = "b4596b6d070b27117e987119b4dac604f3c58cfb0b191112e24771b2faeac1a6"
[[package]]
name = "plotters"
version = "0.2.15"
version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0d1685fbe7beba33de0330629da9d955ac75bd54f33d7b79f9a895590124f6bb"
checksum = "45ca0ae5f169d0917a7c7f5a9c1a3d3d9598f18f529dd2b8373ed988efea307a"
dependencies = [
"js-sys",
"num-traits",
"plotters-backend",
"plotters-svg",
"wasm-bindgen",
"web-sys",
]
[[package]]
name = "plotters-backend"
version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b07fffcddc1cb3a1de753caa4e4df03b79922ba43cf882acc1bdd7e8df9f4590"
[[package]]
name = "plotters-svg"
version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b38a02e23bd9604b842a812063aec4ef702b57989c37b655254bb61c471ad211"
dependencies = [
"plotters-backend",
]
[[package]]
name = "proc-macro2"
version = "1.0.24"
......
......@@ -77,7 +77,7 @@ version = "0.35.0"
default-features = false
[dev-dependencies]
criterion = "0.3.3"
criterion = "0.3.4"
[[bench]]
name = "benchmarks"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment