Skip to content

Commit f50761e

Browse files
authored
Merge pull request #1209 from nnethercote/add-new-cargo
Add `cargo-0.60.0` as a new benchmark.
2 parents 9dbda1d + e2cdeec commit f50761e

File tree

561 files changed

+205384
-2
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

561 files changed

+205384
-2
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@ jobs:
6464
strategy:
6565
matrix:
6666
BENCH_INCLUDE_EXCLUDE_OPTS: [
67-
"--exclude webrender-wrench,cargo",
68-
"--include webrender-wrench,cargo",
67+
"--exclude webrender-wrench,cargo,cargo-0.60.0",
68+
"--include webrender-wrench,cargo,cargo-0.60.0",
6969
]
7070
PROFILES: [
7171
"Check,Doc,Debug",

collector/benchmarks/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ They mostly consist of real-world crates.
1717

1818
- **cargo**: The Rust package manager. An important program in the Rust
1919
ecosystem.
20+
- **cargo-0.60.0**: The Rust package manager. A large program, and an important
21+
one in the Rust ecosystem.
2022
- **clap-rs**: A command line argument parser. A crate used by many Rust
2123
programs.
2224
- **cranelift-codegen**: The largest crate from a code generator. Used by
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
diff --git a/src/cargo/sources/path.rs b/src/cargo/sources/path.rs
2+
index cc1c9874..4abbd75e 100644
3+
--- a/src/cargo/sources/path.rs
4+
+++ b/src/cargo/sources/path.rs
5+
@@ -54,6 +54,7 @@ impl<'cfg> PathSource<'cfg> {
6+
}
7+
8+
pub fn preload_with(&mut self, pkg: Package) {
9+
+ println!("testing");
10+
assert!(!self.updated);
11+
assert!(!self.recursive);
12+
assert!(self.packages.is_empty());

collector/benchmarks/cargo-0.60.0/CHANGELOG.md

Lines changed: 2411 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Contributing to Cargo
2+
3+
Contributing documentation has moved to the **[Cargo Contributor Guide]**.
4+
5+
[Cargo Contributor Guide]: https://rust-lang.github.io/cargo/contrib/

0 commit comments

Comments
 (0)