Updates the requirements on criterion to permit the latest version.
Changelog
*Sourced from [criterion's changelog](https://github.com/bheisler/criterion.rs/blob/master/CHANGELOG.md).*
> ## [0.3.0] - 2019-08-25
> ### Added
> - Added support for plugging in custom measurements (eg. processor counters)
> into Criterion.rs' measurement and analysis.
> - Added support for plugging in instrumentation for internal profilers such as
> `cpuprofiler` which must be explicitly started and stopped within the profiled
> process.
> - Added the `BenchmarkGroup` type, which supersedes `ParameterizedBenchmark`, `Benchmark`,
> `Criterion::bench_functions`, `Criterion::bench_function_over_inputs`, and `Criterion::bench`.
> `BenchmarkGroup` performs the same function as all of the above, but is cleaner to use and more
> powerful and flexible. All of these types/functions are now soft-deprecated (meaning they're
> hidden from the documentation and should not be used in new code). They will be fully deprecated
> at some point in the 0.3.* series and removed in 0.4.0.
> - `iter_custom` - a "timing loop" that allows the caller to perform their own measurements. This is
> useful for complex measurements that don't fit into the usual mode of calling a lambda in a loop.
> - If the benchmark cannot be completed in approximately the requested measurement time,
> Criterion.rs will now print a suggested measurement time and sample size that would work.
> - Two new fields, `throughput_num` and `throughput_type` have been added to the `raw.csv` file.
> - Added command-line options to set the defaults for warm-up time, measurement-time, etc.
>
> ### Changed
> - The `raw.csv` file format has been changed slightly. The `sample_time_nanos` field has been split
> into `sample_measured_value` and `unit` fields to accommodate custom measurements.
> - Throughput has been expanded from u32 to u64 to accommodate very large input sizes.
>
> ### Fixed
> - Fixed possible invalid file name error on Windows
> - Fixed potential case where data for two different benchmarks would be stored in the same directory.
>
> ### Removed
> - Removed the `--measure-only` command-line argument; it was deprecated in favor of `--profile-time`
> in 0.2.6.
> - External program benchmarks have been removed; they were deprecated in 0.2.6. The new
> `iter_custom` timing loop can be used as a substitute; see `benches/external_process.rs` for an
> example of this.
>
> ### Deprecated
> - The `--test` argument is now deprecated. To test benchmarks, use `cargo test --benches`.
>
> ## [0.2.11] - 2019-04-08
> ### Added
> - Enabled automatic text-coloring on Windows.
>
> ### Fixed
> - Fixed panic caused by outdated files after benchmark names or types were changed.
> - Reduced timing overhead of `Criterion::iter_batched/iter_batched_ref`.
>
> ## [0.2.10] - 2019-02-09
> ### Added
> - Added `iter_batched/iter_batched_ref` timing loops, which allow for setup (like
> ... (truncated)
Commits
- [`b75386d`](https://github.com/bheisler/criterion.rs/commit/b75386da2ce7911655f879d1d4e1d89136c052af) Add license and readme to macro crate.
- [`41ac1c7`](https://github.com/bheisler/criterion.rs/commit/41ac1c773367d1d7ef1e6042d9dbab74e3ccb20f) Pre-release prep work. Updating version numbers, changelog, etc.
- [`692e453`](https://github.com/bheisler/criterion.rs/commit/692e453e0e10ce538dc3e31e64b7a7f127e1e479) Merge branch 'v0.3.0-dev'
- [`1ad9a07`](https://github.com/bheisler/criterion.rs/commit/1ad9a075ac93d2f1e1c5944a8fc50b2a28add618) Fix tests
- [`4c35793`](https://github.com/bheisler/criterion.rs/commit/4c3579339758d83251fbcc10aac07c340812a1b4) Update dependencies.
- [`15a5fd7`](https://github.com/bheisler/criterion.rs/commit/15a5fd77701eb045e962eacd8c81f942b177e11c) Merge branch 'YangKeao-add_more_arguments' into v0.3.0-dev
- [`b95c2d6`](https://github.com/bheisler/criterion.rs/commit/b95c2d6d08ad97de93b8cee029cacc6039ce35d5) Minor improvements to API docs.
- [`99643b2`](https://github.com/bheisler/criterion.rs/commit/99643b2dc68cddd10820504411d82d59583018fa) Minor change to migration guide.
- [`168e175`](https://github.com/bheisler/criterion.rs/commit/168e1757e2af1415d0c25a98d2cc9107bc7184ce) Add scale_throughputs function.
- [`6d720ff`](https://github.com/bheisler/criterion.rs/commit/6d720ff999a8406b0036e6828b099026a39704a8) Change the ValueFormatter trait.
- Additional commits viewable in [compare view](https://github.com/bheisler/criterion.rs/compare/0.2.0...0.3.0)
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 commands and options
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)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)
Finally, you can contact us by mentioning @dependabot.
Updates the requirements on criterion to permit the latest version.
Changelog
*Sourced from [criterion's changelog](https://github.com/bheisler/criterion.rs/blob/master/CHANGELOG.md).* > ## [0.3.0] - 2019-08-25 > ### Added > - Added support for plugging in custom measurements (eg. processor counters) > into Criterion.rs' measurement and analysis. > - Added support for plugging in instrumentation for internal profilers such as > `cpuprofiler` which must be explicitly started and stopped within the profiled > process. > - Added the `BenchmarkGroup` type, which supersedes `ParameterizedBenchmark`, `Benchmark`, > `Criterion::bench_functions`, `Criterion::bench_function_over_inputs`, and `Criterion::bench`. > `BenchmarkGroup` performs the same function as all of the above, but is cleaner to use and more > powerful and flexible. All of these types/functions are now soft-deprecated (meaning they're > hidden from the documentation and should not be used in new code). They will be fully deprecated > at some point in the 0.3.* series and removed in 0.4.0. > - `iter_custom` - a "timing loop" that allows the caller to perform their own measurements. This is > useful for complex measurements that don't fit into the usual mode of calling a lambda in a loop. > - If the benchmark cannot be completed in approximately the requested measurement time, > Criterion.rs will now print a suggested measurement time and sample size that would work. > - Two new fields, `throughput_num` and `throughput_type` have been added to the `raw.csv` file. > - Added command-line options to set the defaults for warm-up time, measurement-time, etc. > > ### Changed > - The `raw.csv` file format has been changed slightly. The `sample_time_nanos` field has been split > into `sample_measured_value` and `unit` fields to accommodate custom measurements. > - Throughput has been expanded from u32 to u64 to accommodate very large input sizes. > > ### Fixed > - Fixed possible invalid file name error on Windows > - Fixed potential case where data for two different benchmarks would be stored in the same directory. > > ### Removed > - Removed the `--measure-only` command-line argument; it was deprecated in favor of `--profile-time` > in 0.2.6. > - External program benchmarks have been removed; they were deprecated in 0.2.6. The new > `iter_custom` timing loop can be used as a substitute; see `benches/external_process.rs` for an > example of this. > > ### Deprecated > - The `--test` argument is now deprecated. To test benchmarks, use `cargo test --benches`. > > ## [0.2.11] - 2019-04-08 > ### Added > - Enabled automatic text-coloring on Windows. > > ### Fixed > - Fixed panic caused by outdated files after benchmark names or types were changed. > - Reduced timing overhead of `Criterion::iter_batched/iter_batched_ref`. > > ## [0.2.10] - 2019-02-09 > ### Added > - Added `iter_batched/iter_batched_ref` timing loops, which allow for setup (like > ... (truncated)Commits
- [`b75386d`](https://github.com/bheisler/criterion.rs/commit/b75386da2ce7911655f879d1d4e1d89136c052af) Add license and readme to macro crate. - [`41ac1c7`](https://github.com/bheisler/criterion.rs/commit/41ac1c773367d1d7ef1e6042d9dbab74e3ccb20f) Pre-release prep work. Updating version numbers, changelog, etc. - [`692e453`](https://github.com/bheisler/criterion.rs/commit/692e453e0e10ce538dc3e31e64b7a7f127e1e479) Merge branch 'v0.3.0-dev' - [`1ad9a07`](https://github.com/bheisler/criterion.rs/commit/1ad9a075ac93d2f1e1c5944a8fc50b2a28add618) Fix tests - [`4c35793`](https://github.com/bheisler/criterion.rs/commit/4c3579339758d83251fbcc10aac07c340812a1b4) Update dependencies. - [`15a5fd7`](https://github.com/bheisler/criterion.rs/commit/15a5fd77701eb045e962eacd8c81f942b177e11c) Merge branch 'YangKeao-add_more_arguments' into v0.3.0-dev - [`b95c2d6`](https://github.com/bheisler/criterion.rs/commit/b95c2d6d08ad97de93b8cee029cacc6039ce35d5) Minor improvements to API docs. - [`99643b2`](https://github.com/bheisler/criterion.rs/commit/99643b2dc68cddd10820504411d82d59583018fa) Minor change to migration guide. - [`168e175`](https://github.com/bheisler/criterion.rs/commit/168e1757e2af1415d0c25a98d2cc9107bc7184ce) Add scale_throughputs function. - [`6d720ff`](https://github.com/bheisler/criterion.rs/commit/6d720ff999a8406b0036e6828b099026a39704a8) Change the ValueFormatter trait. - Additional commits viewable in [compare view](https://github.com/bheisler/criterion.rs/compare/0.2.0...0.3.0)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 commands and options
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) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Automerge options (never/patch/minor, and dev/runtime dependencies) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired) Finally, you can contact us by mentioning @dependabot.