mirror of
https://github.com/clap-rs/clap
synced 2024-12-15 07:12:32 +00:00
Merge #1865
1865: Update criterion away from fork r=CreepySkeleton a=pksunkara Co-authored-by: Pavan Kumar Sunkara <pavan.sss1991@gmail.com>
This commit is contained in:
commit
f01dccb88f
2 changed files with 3 additions and 3 deletions
4
.github/workflows/benchmark.yml
vendored
4
.github/workflows/benchmark.yml
vendored
|
@ -24,7 +24,7 @@ jobs:
|
||||||
path: ~/.cargo
|
path: ~/.cargo
|
||||||
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.toml') }}
|
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.toml') }}
|
||||||
- name: Bench base
|
- name: Bench base
|
||||||
run: cargo bench -- -R bencher | tee output.txt
|
run: cargo bench -- --output-format bencher | tee output.txt
|
||||||
- name: Save base benchmark
|
- name: Save base benchmark
|
||||||
uses: pksunkara/github-action-benchmark@v1
|
uses: pksunkara/github-action-benchmark@v1
|
||||||
with:
|
with:
|
||||||
|
@ -37,7 +37,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
clean: false
|
clean: false
|
||||||
- name: Bench pull request
|
- name: Bench pull request
|
||||||
run: cargo bench -- -R bencher | tee output.txt
|
run: cargo bench -- --output-format bencher | tee output.txt
|
||||||
- name: Compare benchmarks
|
- name: Compare benchmarks
|
||||||
uses: pksunkara/github-action-benchmark@v2
|
uses: pksunkara/github-action-benchmark@v2
|
||||||
with:
|
with:
|
||||||
|
|
|
@ -77,7 +77,7 @@ clap_derive = { path = "./clap_derive", version = "3.0.0-beta.1", optional = tru
|
||||||
regex = "1.0"
|
regex = "1.0"
|
||||||
lazy_static = "1"
|
lazy_static = "1"
|
||||||
version-sync = "0.8"
|
version-sync = "0.8"
|
||||||
criterion = { git = "git://github.com/pksunkara/criterion.rs", version = "0.3" }
|
criterion = { git = "git://github.com/bheisler/criterion.rs", version = "0.3" }
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = ["suggestions", "color", "derive", "std", "cargo"]
|
default = ["suggestions", "color", "derive", "std", "cargo"]
|
||||||
|
|
Loading…
Reference in a new issue