Skip to content

Add cargo-0.60.0 as a new benchmark. #1209

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 17, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ jobs:
strategy:
matrix:
BENCH_INCLUDE_EXCLUDE_OPTS: [
"--exclude webrender-wrench,cargo",
"--include webrender-wrench,cargo",
"--exclude webrender-wrench,cargo,cargo-0.60.0",
"--include webrender-wrench,cargo,cargo-0.60.0",
]
PROFILES: [
"Check,Doc,Debug",
Expand Down
2 changes: 2 additions & 0 deletions collector/benchmarks/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ They mostly consist of real-world crates.

- **cargo**: The Rust package manager. An important program in the Rust
ecosystem.
- **cargo-0.60.0**: The Rust package manager. A large program, and an important
one in the Rust ecosystem.
- **clap-rs**: A command line argument parser. A crate used by many Rust
programs.
- **cranelift-codegen**: The largest crate from a code generator. Used by
Expand Down
12 changes: 12 additions & 0 deletions collector/benchmarks/cargo-0.60.0/0-println.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
diff --git a/src/cargo/sources/path.rs b/src/cargo/sources/path.rs
index cc1c9874..4abbd75e 100644
--- a/src/cargo/sources/path.rs
+++ b/src/cargo/sources/path.rs
@@ -54,6 +54,7 @@ impl<'cfg> PathSource<'cfg> {
}

pub fn preload_with(&mut self, pkg: Package) {
+ println!("testing");
assert!(!self.updated);
assert!(!self.recursive);
assert!(self.packages.is_empty());
2,411 changes: 2,411 additions & 0 deletions collector/benchmarks/cargo-0.60.0/CHANGELOG.md

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions collector/benchmarks/cargo-0.60.0/CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Contributing to Cargo

Contributing documentation has moved to the **[Cargo Contributor Guide]**.

[Cargo Contributor Guide]: https://rust-lang.github.io/cargo/contrib/
Loading